summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/settings/timeformat.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/settings/timeformat.php')
-rwxr-xr-x[-rw-r--r--]apps/calendar/ajax/settings/timeformat.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/settings/timeformat.php b/apps/calendar/ajax/settings/timeformat.php
index 728b7155efe..cec09394815 100644..100755
--- a/apps/calendar/ajax/settings/timeformat.php
+++ b/apps/calendar/ajax/settings/timeformat.php
@@ -7,6 +7,6 @@
*/
OC_JSON::checkLoggedIn();
-$timeformat = OC_Preferences::getValue( OC_User::getUser(), 'calendar', 'timeformat', "24");
+$timeformat = OC_Preferences::getValue( OCP\USER::getUser(), 'calendar', 'timeformat', "24");
OC_JSON::encodedPrint(array("timeformat" => $timeformat));
?>