summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/event/delete.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-07-20 20:12:36 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-07-20 20:12:36 +0200
commit38271ded753bc9ea9943cef3c2706f8d71f3a58f (patch)
tree4a2bb2cd3ffe196721c448ef891d692171a925df /apps/calendar/ajax/event/delete.php
parente52ab59b404d6d35ed8619da35b1f70404359212 (diff)
downloadnextcloud-server-38271ded753bc9ea9943cef3c2706f8d71f3a58f.tar.gz
nextcloud-server-38271ded753bc9ea9943cef3c2706f8d71f3a58f.zip
Added CSRF checks
Diffstat (limited to 'apps/calendar/ajax/event/delete.php')
-rw-r--r--apps/calendar/ajax/event/delete.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/calendar/ajax/event/delete.php b/apps/calendar/ajax/event/delete.php
index f183d431afa..17e45c001e8 100644
--- a/apps/calendar/ajax/event/delete.php
+++ b/apps/calendar/ajax/event/delete.php
@@ -9,6 +9,7 @@
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('calendar');
+OCP\JSON::callCheck();
$id = $_POST['id'];
$access = OC_Calendar_App::getaccess($id, OC_Calendar_App::EVENT);