diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-09-12 01:18:07 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-09-12 01:18:07 -0400 |
commit | c5f9b887ffc9ec793d0d5f35536fa215fb95efc6 (patch) | |
tree | 557c38b3493542ad55f5ea740e878619cb8ca3de /lib/base.php | |
parent | ca6322465d8edab9fc4d321e93015c27a0f3091c (diff) | |
download | nextcloud-server-c5f9b887ffc9ec793d0d5f35536fa215fb95efc6.tar.gz nextcloud-server-c5f9b887ffc9ec793d0d5f35536fa215fb95efc6.zip |
Don't call clearCache() for OC_Minimizer statically, create OC_Minimizer objects for both CSS and JS to clear cache after upgrade
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php index 679acdb6e5d..6b4dd789b2f 100644 --- a/lib/base.php +++ b/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 |