Code Cleanup

- Removed restriction on waiting recurring tasks.
- Removed unused L10N string.
- Removed unnecessary include.
This commit is contained in:
Paul Beckingham
2012-02-05 10:08:10 -05:00
parent 86f113a24c
commit 412396d35b
3 changed files with 0 additions and 7 deletions

View File

@@ -1114,11 +1114,6 @@ void Task::validate ()
throw std::string (format (STRING_TASK_VALID_RECUR, get ("recur")));
}
// TODO Remove this restriction.
if (has ("wait") &&
getStatus () == Task::recurring)
throw std::string (STRING_TASK_VALID_WAIT_RECUR);
// Priorities must be valid.
if (has ("priority"))
{