Don't call clearCache() for OC_Minimizer statically, create OC_Minimizer objects for both CSS and JS to clear cache after upgrade

remotes/origin/stable45
Michael Gapczynski 12 years ago
parent ca6322465d
commit c5f9b887ff
  1. 6
      lib/base.php

@ -219,8 +219,10 @@ class OC{
$tmpl->printPage();
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_App::checkAppsRequirements();
// load all apps to also upgrade enabled apps

Loading…
Cancel
Save