aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/base.php b/lib/base.php
index 0f08102c81f..6578d506796 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -365,10 +365,10 @@ class OC {
$oldTheme = $systemConfig->getValue('theme');
$systemConfig->setValue('theme', '');
- OC_Util::addScript('core', 'common');
- OC_Util::addScript('core', 'main');
- OC_Util::addTranslations('core');
- OC_Util::addScript('update', null, 'core');
+ \OCP\Util::addScript('core', 'common');
+ \OCP\Util::addScript('core', 'main');
+ \OCP\Util::addTranslations('core');
+ \OCP\Util::addScript('core', 'update');
/** @var \OC\App\AppManager $appManager */
$appManager = \OC::$server->getAppManager();