fix deleting recurring task

This commit is contained in:
DavidBadura
2015-04-23 19:55:25 +00:00
parent bcbb955e28
commit 4ebaee91aa
2 changed files with 4 additions and 9 deletions

View File

@@ -133,13 +133,8 @@ class TaskManager
return;
}
if ($task->isRecurring()) {
$task->setUntil('now');
$this->save($task);
} else {
$this->taskwarrior->delete($task->getUuid());
$this->refresh($task);
}
$this->taskwarrior->delete($task->getUuid());
$this->refresh($task);
}
/**