summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/settings/timezonedetection.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/settings/timezonedetection.php')
-rw-r--r--apps/calendar/ajax/settings/timezonedetection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/settings/timezonedetection.php b/apps/calendar/ajax/settings/timezonedetection.php
index f67bab901e7..d29c5568e49 100644
--- a/apps/calendar/ajax/settings/timezonedetection.php
+++ b/apps/calendar/ajax/settings/timezonedetection.php
@@ -5,7 +5,7 @@
* later.
* See the COPYING-README file.
*/
-require_once('../../../../lib/base.php');
+
OC_JSON::checkLoggedIn();
OC_JSON::checkAppEnabled('calendar');
if($_POST['timezonedetection'] == 'on'){