From 9b14f53075c0bd97bf0d59623a402bcf1d49082c Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 8 Sep 2014 00:20:47 -0400 Subject: [PATCH] CmdHistory - Removed TDB2::commit. --- src/commands/CmdHistory.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/commands/CmdHistory.cpp b/src/commands/CmdHistory.cpp index c57802607..ead2ad229 100644 --- a/src/commands/CmdHistory.cpp +++ b/src/commands/CmdHistory.cpp @@ -61,7 +61,6 @@ int CmdHistoryMonthly::execute (std::string& output) Filter filter; std::vector filtered; filter.subset (filtered); - context.tdb2.commit (); std::vector ::iterator task; for (task = filtered.begin (); task != filtered.end (); ++task) @@ -216,7 +215,6 @@ int CmdHistoryAnnual::execute (std::string& output) Filter filter; std::vector filtered; filter.subset (filtered); - context.tdb2.commit (); std::vector ::iterator task; for (task = filtered.begin (); task != filtered.end (); ++task) @@ -368,7 +366,6 @@ int CmdGHistoryMonthly::execute (std::string& output) Filter filter; std::vector filtered; filter.subset (filtered); - context.tdb2.commit (); std::vector ::iterator task; for (task = filtered.begin (); task != filtered.end (); ++task) @@ -562,7 +559,6 @@ int CmdGHistoryAnnual::execute (std::string& output) Filter filter; std::vector filtered; filter.subset (filtered); - context.tdb2.commit (); std::vector ::iterator task; for (task = filtered.begin (); task != filtered.end (); ++task)