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