mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
remove TDB::commit
This commit is contained in:
parent
0882a08d18
commit
9df4c8156e
3 changed files with 0 additions and 8 deletions
|
@ -735,7 +735,6 @@ int Context::run ()
|
|||
{
|
||||
hooks.onLaunch ();
|
||||
rc = dispatch (output);
|
||||
tdb2.commit (); // Harmless if called when nothing changed.
|
||||
hooks.onExit (); // No chance to update data.
|
||||
|
||||
timer_total.stop ();
|
||||
|
|
|
@ -169,12 +169,6 @@ void TDB2::modify (Task& task)
|
|||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void TDB2::commit ()
|
||||
{
|
||||
// does nothing; changes are committed as they are made
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
const tc::WorkingSet &TDB2::working_set ()
|
||||
{
|
||||
|
|
|
@ -49,7 +49,6 @@ public:
|
|||
void open_replica (const std::string&, bool create_if_missing);
|
||||
void add (Task&);
|
||||
void modify (Task&);
|
||||
void commit ();
|
||||
void get_changes (std::vector <Task>&);
|
||||
void revert ();
|
||||
void gc ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue