summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/share/unshare.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/share/unshare.php')
-rw-r--r--apps/calendar/ajax/share/unshare.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/calendar/ajax/share/unshare.php b/apps/calendar/ajax/share/unshare.php
index 1ce04677fb1..c7c06113189 100644
--- a/apps/calendar/ajax/share/unshare.php
+++ b/apps/calendar/ajax/share/unshare.php
@@ -5,7 +5,9 @@
* later.
* See the COPYING-README file.
*/
-
+
+OCP\JSON::callCheck();
+
$id = strip_tags($_POST['id']);
$idtype = strip_tags($_POST['idtype']);
switch($idtype){