Don't call clearCache() for OC_Minimizer statically, create OC_Minimizer objects for both CSS and JS to clear cache after upgrade
This commit is contained in:
parent
ca6322465d
commit
c5f9b887ff
|
@ -219,8 +219,10 @@ class OC{
|
||||||
$tmpl->printPage();
|
$tmpl->printPage();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
OC_Minimizer::clearCache();
|
$minimizerCSS = new OC_Minimizer_CSS();
|
||||||
|
$minimizerCSS->clearCache();
|
||||||
|
$minimizerJS = new OC_Minimizer_JS();
|
||||||
|
$minimizerJS->clearCache();
|
||||||
OC_Config::setValue('version', implode('.', OC_Util::getVersion()));
|
OC_Config::setValue('version', implode('.', OC_Util::getVersion()));
|
||||||
OC_App::checkAppsRequirements();
|
OC_App::checkAppsRequirements();
|
||||||
// load all apps to also upgrade enabled apps
|
// load all apps to also upgrade enabled apps
|
||||||
|
|
Loading…
Reference in New Issue