summaryrefslogtreecommitdiff
path: root/server/src/server.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/server.cc')
-rw-r--r--server/src/server.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/server.cc b/server/src/server.cc
index 4a17954..a0dbaa4 100644
--- a/server/src/server.cc
+++ b/server/src/server.cc
@@ -102,14 +102,13 @@ static std::string handleTransaction(Transaction *transaction,
commit.fields["journal.resume"] = resume;
db->commitTransaction(transaction->user, transaction->cpr, *macro, commit.fields);
-
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) {
- journalwriter.addEntry(*transaction, commit, resume);
+ journalwriter.addEntry(*transaction, commit, resume, commit.course);
/*
journal_commit(transaction->cpr.c_str(), transaction->user.c_str(),
Conf::journal_commit_addr.c_str(), Conf::journal_commit_port,