summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base.php')
-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();