summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/settings/getfirstday.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/settings/getfirstday.php')
-rwxr-xr-x[-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 63218dcd028..3fe89c5bc56 100644..100755
--- a/apps/calendar/ajax/settings/getfirstday.php
+++ b/apps/calendar/ajax/settings/getfirstday.php
@@ -7,6 +7,6 @@
*/
OC_JSON::checkLoggedIn();
-$firstday = OC_Preferences::getValue( OC_User::getUser(), 'calendar', 'firstday', 'mo');
+$firstday = OC_Preferences::getValue( OCP\USER::getUser(), 'calendar', 'firstday', 'mo');
OC_JSON::encodedPrint(array('firstday' => $firstday));
?>