mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-30 20:37:20 +02:00
Code Cleanup
- Obsoleted Filter.{h,cpp}. - Obsoleted Sequence.{h,cpp}. - Eliminated Context::autoFilter. - Stubbed Expression::eval.
This commit is contained in:
parent
6b85669812
commit
f971fcd110
28 changed files with 148 additions and 616 deletions
|
@ -52,8 +52,7 @@ int CmdIDs::execute (std::string& output)
|
|||
std::vector <Task> tasks;
|
||||
context.tdb.lock (context.config.getBoolean ("locking"));
|
||||
handleRecurrence ();
|
||||
Filter filter;
|
||||
context.tdb.load (tasks, filter);
|
||||
context.tdb.load (tasks);
|
||||
context.tdb.commit ();
|
||||
context.tdb.unlock ();
|
||||
|
||||
|
@ -93,8 +92,7 @@ int CmdCompletionIds::execute (std::string& output)
|
|||
{
|
||||
std::vector <Task> tasks;
|
||||
context.tdb.lock (context.config.getBoolean ("locking"));
|
||||
Filter filter;
|
||||
context.tdb.loadPending (tasks, filter);
|
||||
context.tdb.loadPending (tasks);
|
||||
context.tdb.commit ();
|
||||
context.tdb.unlock ();
|
||||
|
||||
|
@ -140,8 +138,7 @@ int CmdZshCompletionIds::execute (std::string& output)
|
|||
{
|
||||
std::vector <Task> tasks;
|
||||
context.tdb.lock (context.config.getBoolean ("locking"));
|
||||
Filter filter;
|
||||
context.tdb.loadPending (tasks, filter);
|
||||
context.tdb.loadPending (tasks);
|
||||
context.tdb.commit ();
|
||||
context.tdb.unlock ();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue