summaryrefslogtreecommitdiffstats
path: root/lib/minimizer.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-06-25 08:50:13 +0200
committerBart Visscher <bartv@thisnet.nl>2012-06-25 21:05:10 +0200
commitcae089df91bf2ba9413145dc800d9fa77aab08cb (patch)
tree1b179249370cc8f0c6c54120271e60c7c2f71f7e /lib/minimizer.php
parentfb53708d10924ee63749439b0c51029093a04b78 (diff)
downloadnextcloud-server-cae089df91bf2ba9413145dc800d9fa77aab08cb.tar.gz
nextcloud-server-cae089df91bf2ba9413145dc800d9fa77aab08cb.zip
Cache: Create global cache in OC_Cache
Diffstat (limited to 'lib/minimizer.php')
-rw-r--r--lib/minimizer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/minimizer.php b/lib/minimizer.php
index e17c114f065..2650c579c1d 100644
--- a/lib/minimizer.php
+++ b/lib/minimizer.php
@@ -22,7 +22,7 @@ abstract class OC_Minimizer {
OC_Response::setLastModifiedHeader($last_modified);
$gzout = false;
- $cache = new OC_Cache_FileGlobal();
+ $cache = OC_Cache::getGlobalCache();
if (!OC_Request::isNoCache() && (!defined('DEBUG') || !DEBUG)){
$gzout = $cache->get($cache_key.'.gz');
OC_Response::setETagHeader(md5($gzout));