Load core before the update script

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/30733/head
Joas Schilling 4 years ago
parent a7eefa293e
commit c8bfd8a559
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
  1. 5
      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();

Loading…
Cancel
Save