Feature #457
- Tasks may now be given an 'until' date, after which they expire and are deleted.
This commit is contained in:
@@ -1154,10 +1154,6 @@ void Task::validate ()
|
||||
if (! has ("due") && has ("recur"))
|
||||
throw std::string (STRING_TASK_VALID_REC_DUE);
|
||||
|
||||
// Cannot have an until date no recurrence frequency.
|
||||
if (has ("until") && !has ("recur"))
|
||||
throw std::string (STRING_TASK_VALID_UNTIL);
|
||||
|
||||
// Recur durations must be valid.
|
||||
if (has ("recur"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user