summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/categories/rescan.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/ajax/categories/rescan.php')
-rw-r--r--apps/contacts/ajax/categories/rescan.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/contacts/ajax/categories/rescan.php b/apps/contacts/ajax/categories/rescan.php
index fd875a965dc..a06e7803955 100644
--- a/apps/contacts/ajax/categories/rescan.php
+++ b/apps/contacts/ajax/categories/rescan.php
@@ -9,6 +9,7 @@
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('contacts');
+OCP\JSON::callCheck();
OC_Contacts_App::scanCategories();
$categories = OC_Contacts_App::getCategories();