Turn off theme before update

This commit is contained in:
Michael Gapczynski 2013-05-14 09:34:01 -04:00
parent 460f827f7e
commit f8336c1e2c
1 changed files with 1 additions and 0 deletions

View File

@ -282,6 +282,7 @@ class OC {
$currentVersion = implode('.', OC_Util::getVersion());
if (version_compare($currentVersion, $installedVersion, '>')) {
if ($showTemplate && !OC_Config::getValue('maintenance', false)) {
OC_Config::setValue('theme', '');
$minimizerCSS = new OC_Minimizer_CSS();
$minimizerCSS->clearCache();
$minimizerJS = new OC_Minimizer_JS();