summaryrefslogtreecommitdiff
path: root/plugins/Minify
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Minify')
-rw-r--r--plugins/Minify/MinifyPlugin.php4
-rw-r--r--plugins/Minify/minify.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Minify/MinifyPlugin.php b/plugins/Minify/MinifyPlugin.php
index 5071fd5a1..afe6edf5f 100644
--- a/plugins/Minify/MinifyPlugin.php
+++ b/plugins/Minify/MinifyPlugin.php
@@ -121,7 +121,7 @@ class MinifyPlugin extends Plugin
if($this->minifyInlineJs && $type=='text/javascript'){
$c = Cache::instance();
if (!empty($c)) {
- $cacheKey = common_cache_key(self::cacheKey . ':' . crc32($code));
+ $cacheKey = Cache::key(self::cacheKey . ':' . crc32($code));
$out = $c->get($cacheKey);
}
if(empty($out)) {
@@ -141,7 +141,7 @@ class MinifyPlugin extends Plugin
if($this->minifyInlineCss && $type=='text/css'){
$c = Cache::instance();
if (!empty($c)) {
- $cacheKey = common_cache_key(self::cacheKey . ':' . crc32($code));
+ $cacheKey = Cache::key(self::cacheKey . ':' . crc32($code));
$out = $c->get($cacheKey);
}
if(empty($out)) {
diff --git a/plugins/Minify/minify.php b/plugins/Minify/minify.php
index 3e8f86f83..bac1df8e2 100644
--- a/plugins/Minify/minify.php
+++ b/plugins/Minify/minify.php
@@ -76,7 +76,7 @@ class MinifyAction extends Action
$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)) {