X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FMinify%2Fminify.php;fp=plugins%2FMinify%2Fminify.php;h=e012a40272c27d5eef0c89209ae7c4e101a06e8e;hb=59119482ca34540bd7f0a2a1aa994de1d5328ea2;hp=9a59c4223c8ec1f613b995eefc01a66275a748ef;hpb=1652ded48c9c62c40157a5142e5231adbc574ddb;p=quix0rs-gnu-social.git diff --git a/plugins/Minify/minify.php b/plugins/Minify/minify.php index 9a59c4223c..e012a40272 100644 --- a/plugins/Minify/minify.php +++ b/plugins/Minify/minify.php @@ -74,9 +74,9 @@ class MinifyAction extends Action { parent::handle($args); - $c = common_memcache(); + $c = Cache::instance(); if (!empty($c)) { - $cacheKey = common_cache_key(MinifyPlugin::cacheKey . ':' . $this->file . '?v=' . empty($this->v)?'':$this->v); + $cacheKey = Cache::key(MinifyPlugin::cacheKey . ':' . $this->file . '?v=' . empty($this->v)?'':$this->v); $out = $c->get($cacheKey); } if(empty($out)) {