summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/settings/setfirstday.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/settings/setfirstday.php')
-rw-r--r--apps/calendar/ajax/settings/setfirstday.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/settings/setfirstday.php b/apps/calendar/ajax/settings/setfirstday.php
index 3b652212205..3b1b5481db4 100644
--- a/apps/calendar/ajax/settings/setfirstday.php
+++ b/apps/calendar/ajax/settings/setfirstday.php
@@ -5,7 +5,7 @@
* later.
* See the COPYING-README file.
*/
-require_once('../../../../lib/base.php');
+
OC_JSON::checkLoggedIn();
if(isset($_POST["firstday"])){
OC_Preferences::setValue(OC_User::getUser(), 'calendar', 'firstday', $_POST["firstday"]);