diff options
author | Joas Schilling <coding@schilljs.com> | 2022-01-18 14:55:13 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-01-18 14:55:13 +0100 |
commit | c8bfd8a559ba5241737357d1a52d31fac889cbed (patch) | |
tree | a8eaf7635aaa923ef662196ede31683e629d06c4 | |
parent | a7eefa293e4735ab9f249f9d12ced3e70823da35 (diff) | |
download | nextcloud-server-c8bfd8a559ba5241737357d1a52d31fac889cbed.tar.gz nextcloud-server-c8bfd8a559ba5241737357d1a52d31fac889cbed.zip |
Load core before the update script
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | lib/base.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index 91544c949c2..0f08102c81f 100644 --- a/lib/base.php +++ b/lib/base.php @@ -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(); |