Skip to content

Commit

Permalink
Allow to set completion date when adding tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Mar 20, 2014
1 parent 467516f commit 0e4b4d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nag/lib/Driver.php
Expand Up @@ -104,6 +104,7 @@ public function listAlarms($date)
* - private: (OPTIONAL, boolean) Whether the task is private.
* - owner: (OPTIONAL, string) The owner of the event.
* - assignee: (OPTIONAL, string) The assignee of the event.
* - completed_date: (OPTIONAL, integer) The task's completion date.
* - recurrence: (OPTIONAL, Horde_Date_Recurrence|array) Recurrence
* information.
*
Expand All @@ -125,6 +126,7 @@ public function add(array $task)
'private' => false,
'owner' => $GLOBALS['registry']->getAuth(),
'assignee' => null,
'completed_date' => 0,
'recurrence' => null),
$task
);
Expand Down

0 comments on commit 0e4b4d3

Please sign in to comment.