mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-07 11:57:23 +02:00
docs: Add removal comments
This commit is contained in:
parent
2c44f79277
commit
91517151ad
2 changed files with 3 additions and 2 deletions
|
@ -331,7 +331,7 @@ bool getDOM (const std::string& name, const Task& task, Variant& value)
|
|||
}
|
||||
|
||||
// Special handling of status required for virtual waiting status
|
||||
// implementation
|
||||
// implementation. Remove in 3.0.0.
|
||||
if (ref.data.size () && size == 1 && canonical == "status")
|
||||
{
|
||||
value = Variant (ref.statusToText (ref.getStatus ()));
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue