From c50c7103f5a2a81115d60f5646b08565c7712326 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 2 Dec 2008 13:33:08 +0000 Subject: Ignore store_in_journal attributes, always set to true. --- server/src/server.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'server/src') 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(), -- cgit v1.2.3