summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/settings/getfirstday.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-02 15:54:34 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-02 15:54:34 +0200
commit82a61e2e1a0f392759b69f7336213ff70a7bc877 (patch)
treea78094228b8454feb9212c2b7c3f54f5427fc03c /apps/calendar/ajax/settings/getfirstday.php
parentff66600bc060dd2713b88b4af88e5a0a291710e0 (diff)
downloadnextcloud-server-82a61e2e1a0f392759b69f7336213ff70a7bc877.tar.gz
nextcloud-server-82a61e2e1a0f392759b69f7336213ff70a7bc877.zip
port oc_preferences
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));
?>