summaryrefslogtreecommitdiff
path: root/server/src/database.cc
diff options
context:
space:
mode:
authordeva <deva>2008-10-10 10:21:20 +0000
committerdeva <deva>2008-10-10 10:21:20 +0000
commita703bf6f8dd6cd5a75202266f769e3ef2e42bcb2 (patch)
tree120486db55ca92bc9f2c5dd43412c7d7add5487b /server/src/database.cc
parent9b697d2d3e34962385cd85a14d4cb14d5b1763ce (diff)
Made resume a standalone tag istead of an attribute of the macro tag.
Diffstat (limited to 'server/src/database.cc')
-rw-r--r--server/src/database.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/server/src/database.cc b/server/src/database.cc
index 2338bb6..371a870 100644
--- a/server/src/database.cc
+++ b/server/src/database.cc
@@ -142,11 +142,12 @@ void Database::commit(std::string user,
#endif/*0*/
}
-void Database::putJournal(std::string user,
- std::string cpr,
- Macro &_macro,
- std::string resume,
- time_t now)
+void Database::putResume(std::string user,
+ std::string cpr,
+ Macro &_macro,
+ std::string resume,
+ time_t now,
+ bool store_in_journal)
{
std::string version = _macro.attributes["version"];
std::string macro = _macro.attributes["name"];