mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Load core before the update script
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
a7eefa293e
commit
c8bfd8a559
1 changed files with 4 additions and 1 deletions
|
|
@ -365,7 +365,10 @@ class OC {
|
|||
|
||||
$oldTheme = $systemConfig->getValue('theme');
|
||||
$systemConfig->setValue('theme', '');
|
||||
OC_Util::addScript('update');
|
||||
OC_Util::addScript('core', 'common');
|
||||
OC_Util::addScript('core', 'main');
|
||||
OC_Util::addTranslations('core');
|
||||
OC_Util::addScript('update', null, 'core');
|
||||
|
||||
/** @var \OC\App\AppManager $appManager */
|
||||
$appManager = \OC::$server->getAppManager();
|
||||
|
|
|
|||
Loading…
Reference in a new issue