aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-01-18 16:28:49 +0100
committerGitHub <noreply@github.com>2022-01-18 16:28:49 +0100
commitd6716ccb212ef6e15ac59726ffee82ea22d819a4 (patch)
tree6178924a597484556fd8e001f0bf4b224b852373
parent927e3b68e49933e1aa71a3d382df5fdb3c0e6f3f (diff)
parentc8bfd8a559ba5241737357d1a52d31fac889cbed (diff)
downloadnextcloud-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.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();