aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-01-18 14:55:13 +0100
committerJoas Schilling <coding@schilljs.com>2022-01-18 14:55:13 +0100
commitc8bfd8a559ba5241737357d1a52d31fac889cbed (patch)
treea8eaf7635aaa923ef662196ede31683e629d06c4
parenta7eefa293e4735ab9f249f9d12ced3e70823da35 (diff)
downloadnextcloud-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.php5
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();