summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2008-12-02 13:33:08 +0000
committerdeva <deva>2008-12-02 13:33:08 +0000
commitc50c7103f5a2a81115d60f5646b08565c7712326 (patch)
tree36d4cfed05d496a372bf9ff0eab5def242d2829b
parent850b163462dae13b3c5a2bd1de17b9bc7f33620b (diff)
Ignore store_in_journal attributes, always set to true.
-rw-r--r--server/src/server.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/server/src/server.cc b/server/src/server.cc
index d7fdbc1..763964e 100644
--- a/server/src/server.cc
+++ b/server/src/server.cc
@@ -96,9 +96,10 @@ static std::string handleTransaction(Transaction *transaction,
std::string resume = resume_parser(macro->resume.attributes["format"].c_str(), commit);
- bool store_in_journal =
- macro->resume.attributes.find("store_in_journal") != macro->resume.attributes.end() &&
- macro->resume.attributes["store_in_journal"] == "true";
+ bool store_in_journal = true;
+ // We always need to store in journal!
+ // macro->resume.attributes.find("store_in_journal") != macro->resume.attributes.end() &&
+ // macro->resume.attributes["store_in_journal"] == "true";
if(resume != "" && store_in_journal) {
journal_commit(transaction->cpr.c_str(), transaction->user.c_str(),