Skip to content

Commit 0ea689d

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

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/base.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,10 +365,7 @@ 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('update', null, 'core');
372369

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

0 commit comments

Comments
 (0)