summaryrefslogtreecommitdiffstats
path: root/apps/calendar/settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/settings.php')
-rwxr-xr-x[-rw-r--r--]apps/calendar/settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/settings.php b/apps/calendar/settings.php
index b5922802716..a76c5d1e34a 100644..100755
--- a/apps/calendar/settings.php
+++ b/apps/calendar/settings.php
@@ -7,7 +7,7 @@
*/
$tmpl = new OC_Template( 'calendar', 'settings');
-$timezone=OC_Preferences::getValue(OC_User::getUser(),'calendar','timezone','');
+$timezone=OC_Preferences::getValue(OCP\USER::getUser(),'calendar','timezone','');
$tmpl->assign('timezone',$timezone);
$tmpl->assign('timezones',DateTimeZone::listIdentifiers());