aboutsummaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/changeview.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/changeview.php')
-rwxr-xr-x[-rw-r--r--]apps/calendar/ajax/changeview.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/changeview.php b/apps/calendar/ajax/changeview.php
index 736a5625530..f53eb288b79 100644..100755
--- a/apps/calendar/ajax/changeview.php
+++ b/apps/calendar/ajax/changeview.php
@@ -17,6 +17,6 @@ switch($view){
OC_JSON::error(array('message'=>'unexspected parameter: ' . $view));
exit;
}
-OC_Preferences::setValue(OC_USER::getUser(), 'calendar', 'currentview', $view);
+OC_Preferences::setValue(OCP\USER::getUser(), 'calendar', 'currentview', $view);
OC_JSON::success();
?>