docs: Add removal comments

This commit is contained in:
Tomas Babej
2021-08-08 10:10:06 -04:00
parent 2c44f79277
commit 91517151ad
2 changed files with 3 additions and 2 deletions

View File

@@ -305,8 +305,9 @@ Task::status Task::getStatus () const
auto status = textToStatus (get ("status"));
// implement the "virtual" Task::waiting status, which is not stored on-disk
// Implement the "virtual" Task::waiting status, which is not stored on-disk
// but is defined as a pending task with a `wait` attribute in the future.
// This is workaround for 2.6.0, remove in 3.0.0.
if (status == Task::pending && is_waiting ()) {
return Task::waiting;
}