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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/ajax/categories/rescan.php b/apps/contacts/ajax/categories/rescan.php
index 5f1057bab44..09208c3f685 100644
--- a/apps/contacts/ajax/categories/rescan.php
+++ b/apps/contacts/ajax/categories/rescan.php
@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
-require_once('../../../../lib/base.php');
+
OC_JSON::checkLoggedIn();
OC_JSON::checkAppEnabled('contacts');