summaryrefslogtreecommitdiffstats
path: root/apps/tasks/ajax/delete.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tasks/ajax/delete.php')
-rw-r--r--apps/tasks/ajax/delete.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/tasks/ajax/delete.php b/apps/tasks/ajax/delete.php
index e29add9b556..cc22c3e3873 100644
--- a/apps/tasks/ajax/delete.php
+++ b/apps/tasks/ajax/delete.php
@@ -23,6 +23,7 @@
// Init owncloud
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('tasks');
+OCP\JSON::callCheck();
$id = $_POST['id'];
$task = OC_Calendar_App::getEventObject( $id );