diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-03-05 21:13:07 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-03-05 21:13:07 -0500 |
commit | 5300d6ad552585a316107cb483bd68533116d392 (patch) | |
tree | 723e4f806f7475921e9afc2547567594c8b68e0a /lib/base.php | |
parent | c1a32b50735b0a8558823d111e546865ddcba790 (diff) | |
download | nextcloud-server-5300d6ad552585a316107cb483bd68533116d392.tar.gz nextcloud-server-5300d6ad552585a316107cb483bd68533116d392.zip |
Clear the CSS and JS cache earlier to make sure update goes smoothly
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index bffae36261e..59b861ffce1 100644 --- a/lib/base.php +++ b/lib/base.php @@ -277,6 +277,10 @@ class OC { OC_Log::write('core', 'starting upgrade from ' . $installedVersion . ' to ' . $currentVersion, OC_Log::DEBUG); + $minimizerCSS = new OC_Minimizer_CSS(); + $minimizerCSS->clearCache(); + $minimizerJS = new OC_Minimizer_JS(); + $minimizerJS->clearCache(); OC_Util::addscript('update'); $tmpl = new OC_Template('', 'update', 'guest'); $tmpl->assign('version', OC_Util::getVersionString()); |