Emit Completed.
This commit is contained in:
parent
a52036f3ef
commit
2250fb1159
1 changed files with 1 additions and 0 deletions
|
@ -180,6 +180,7 @@ class OC_Task_App {
|
|||
$timezone = new DateTimeZone($timezone);
|
||||
$completed = new DateTime($completed, $timezone);
|
||||
$vtodo->setDateTime('COMPLETED', $completed);
|
||||
OCP\Util::emitHook('OC_Task', 'taskCompleted', $vtodo);
|
||||
} else {
|
||||
unset($vtodo->COMPLETED);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue