[BREAKING] remove 'task purge' support

TaskChampion removes deleted tasks automatically when they expire, so
this subcommand is no longer required.
This commit is contained in:
Dustin J. Mitchell
2022-12-15 02:52:45 +00:00
committed by Dustin J. Mitchell
parent d47c70579f
commit 87467f72c7
6 changed files with 3 additions and 308 deletions

View File

@@ -654,13 +654,6 @@ void TDB2::modify (Task& task, bool add_to_backlog /* = true */)
update (task, add_to_backlog);
}
////////////////////////////////////////////////////////////////////////////////
void TDB2::purge (Task& task)
{
// Delete the task from completed.data
completed.purge_task (task);
}
////////////////////////////////////////////////////////////////////////////////
void TDB2::update (
Task& task,