summaryrefslogtreecommitdiff
path: root/plugins/Minify/minify.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Minify/minify.php')
-rw-r--r--plugins/Minify/minify.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Minify/minify.php b/plugins/Minify/minify.php
index 9a59c4223..e012a4027 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)) {