diff options
Diffstat (limited to 'lib/minimizer.php')
-rw-r--r-- | lib/minimizer.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/minimizer.php b/lib/minimizer.php index 3dc89e331a6..6e425efad55 100644 --- a/lib/minimizer.php +++ b/lib/minimizer.php @@ -45,6 +45,12 @@ abstract class OC_Minimizer { header('Content-Length: '.strlen($out)); echo $out; } + + public function clearCache() { + $cache = OC_Cache::getGlobalCache(); + $cache->delete('core.css.gz'); + $cache->delete('core.js.gz'); + } } if (!function_exists('gzdecode')) { |