Skip to content

Commit 85113ff

Browse files
committed
Use less deprecated methods in base.php
Signed-off-by: Louis Chemineau <louis@chmn.me>
1 parent 3d8d797 commit 85113ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/base.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,10 +365,10 @@ private static function printUpgradePage(\OC\SystemConfig $systemConfig) {
365365

366366
$oldTheme = $systemConfig->getValue('theme');
367367
$systemConfig->setValue('theme', '');
368-
OC_Util::addScript('core', 'common');
369-
OC_Util::addScript('core', 'main');
370-
OC_Util::addTranslations('core');
371-
OC_Util::addScript('update', null, 'core');
368+
\OCP\Util::addScript('core', 'common');
369+
\OCP\Util::addScript('core', 'main');
370+
\OCP\Util::addTranslations('core');
371+
\OCP\Util::addScript('update', null, 'core');
372372

373373
/** @var \OC\App\AppManager $appManager */
374374
$appManager = \OC::$server->getAppManager();

0 commit comments

Comments
 (0)