summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/categories
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/categories')
-rw-r--r--apps/calendar/ajax/categories/rescan.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/categories/rescan.php b/apps/calendar/ajax/categories/rescan.php
index 0fd878ed8f9..9273986cad4 100644
--- a/apps/calendar/ajax/categories/rescan.php
+++ b/apps/calendar/ajax/categories/rescan.php
@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
-require_once('../../../../lib/base.php');
+
OC_JSON::checkLoggedIn();
OC_JSON::checkAppEnabled('calendar');