diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-01-18 16:28:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-18 16:28:49 +0100 |
commit | d6716ccb212ef6e15ac59726ffee82ea22d819a4 (patch) | |
tree | 6178924a597484556fd8e001f0bf4b224b852373 | |
parent | 927e3b68e49933e1aa71a3d382df5fdb3c0e6f3f (diff) | |
parent | c8bfd8a559ba5241737357d1a52d31fac889cbed (diff) | |
download | nextcloud-server-d6716ccb212ef6e15ac59726ffee82ea22d819a4.tar.gz nextcloud-server-d6716ccb212ef6e15ac59726ffee82ea22d819a4.zip |
Merge pull request #30733 from nextcloud/bugfix/noid/fix-update-button
Load core before the update script
-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(); |