summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/settings/getfirstday.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/settings/getfirstday.php')
-rw-r--r--apps/calendar/ajax/settings/getfirstday.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/settings/getfirstday.php b/apps/calendar/ajax/settings/getfirstday.php
index cab5870509a..63218dcd028 100644
--- a/apps/calendar/ajax/settings/getfirstday.php
+++ b/apps/calendar/ajax/settings/getfirstday.php
@@ -5,7 +5,7 @@
* later.
* See the COPYING-README file.
*/
-require_once('../../../../lib/base.php');
+
OC_JSON::checkLoggedIn();
$firstday = OC_Preferences::getValue( OC_User::getUser(), 'calendar', 'firstday', 'mo');
OC_JSON::encodedPrint(array('firstday' => $firstday));