aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-01-18 18:37:45 +0100
committerLouis Chemineau <louis@chmn.me>2022-01-19 11:07:12 +0100
commitb46ff973e04be5b1315788dfffeba23a653bb6e2 (patch)
treedcdf7012252d7a23c3bf8d1e1b34e04982a32f31 /lib/base.php
parent3d8d79713706dae0832af2db20fb78b2784724e6 (diff)
downloadnextcloud-server-b46ff973e04be5b1315788dfffeba23a653bb6e2.tar.gz
nextcloud-server-b46ff973e04be5b1315788dfffeba23a653bb6e2.zip
Use less deprecated methods in base.php
Signed-off-by: Louis Chemineau <louis@chmn.me>
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();