Skip to content
Snippets Groups Projects
Commit 2250fb11 authored by Thomas Tanghus's avatar Thomas Tanghus
Browse files

Emit Completed.

parent a52036f3
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment