diff options
Diffstat (limited to 'apps/calendar/ajax/settings/setfirstday.php')
-rwxr-xr-x | apps/calendar/ajax/settings/setfirstday.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/calendar/ajax/settings/setfirstday.php b/apps/calendar/ajax/settings/setfirstday.php index 0c6ab695365..373eeee7968 100755 --- a/apps/calendar/ajax/settings/setfirstday.php +++ b/apps/calendar/ajax/settings/setfirstday.php @@ -6,12 +6,12 @@ * See the COPYING-README file. */ -OC_JSON::checkLoggedIn(); +OCP\JSON::checkLoggedIn(); if(isset($_POST["firstday"])){ OCP\Config::setUserValue(OCP\USER::getUser(), 'calendar', 'firstday', $_POST["firstday"]); - OC_JSON::success(); + OCP\JSON::success(); }else{ - OC_JSON::error(); + OCP\JSON::error(); } ?> |