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-xapps/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 3fe89c5bc56..dfc8b304b69 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( OCP\USER::getUser(), 'calendar', 'firstday', 'mo');
+$firstday = OCP\Config::getUserValue( OCP\USER::getUser(), 'calendar', 'firstday', 'mo');
OC_JSON::encodedPrint(array('firstday' => $firstday));
?>