summaryrefslogtreecommitdiffstats
path: root/apps/calendar/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/index.php')
-rwxr-xr-xapps/calendar/index.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/calendar/index.php b/apps/calendar/index.php
index beb6ac0c372..cc6b19a0402 100755
--- a/apps/calendar/index.php
+++ b/apps/calendar/index.php
@@ -39,19 +39,19 @@ if(OC_Preferences::getValue(OCP\USER::getUser(), 'calendar', 'currentview', 'mon
OC_Preferences::setValue(OCP\USER::getUser(), "calendar", "currentview", "list");
}
-OC_Util::addScript('3rdparty/fullcalendar', 'fullcalendar');
+OCP\Util::addscript('3rdparty/fullcalendar', 'fullcalendar');
OCP\Util::addStyle('3rdparty/fullcalendar', 'fullcalendar');
-OC_Util::addScript('3rdparty/timepicker', 'jquery.ui.timepicker');
+OCP\Util::addscript('3rdparty/timepicker', 'jquery.ui.timepicker');
OCP\Util::addStyle('3rdparty/timepicker', 'jquery.ui.timepicker');
if(OC_Preferences::getValue(OCP\USER::getUser(), "calendar", "timezone") == null || OC_Preferences::getValue(OCP\USER::getUser(), 'calendar', 'timezonedetection') == 'true'){
- OC_UTIL::addScript('calendar', 'geo');
+ OCP\Util::addscript('calendar', 'geo');
}
-OC_Util::addScript('calendar', 'calendar');
+OCP\Util::addscript('calendar', 'calendar');
OCP\Util::addStyle('calendar', 'style');
-OC_Util::addScript('', 'jquery.multiselect');
+OCP\Util::addscript('', 'jquery.multiselect');
OCP\Util::addStyle('', 'jquery.multiselect');
-OC_Util::addScript('contacts','jquery.multi-autocomplete');
-OC_Util::addScript('','oc-vcategories');
+OCP\Util::addscript('contacts','jquery.multi-autocomplete');
+OCP\Util::addscript('','oc-vcategories');
OC_App::setActiveNavigationEntry('calendar_index');
$tmpl = new OC_Template('calendar', 'calendar', 'user');
$tmpl->assign('eventSources', $eventSources);