diff options
author | Evan Prodromou <evan@status.net> | 2010-09-06 10:07:43 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-09-06 10:07:43 -0400 |
commit | a319b40c97c2fd6527eeb81d7d2f2d703756ef80 (patch) | |
tree | 19f849d8abddc24b609d33a5710efb97b37a972f /plugins/Minify/MinifyPlugin.php | |
parent | e42d2124a319e72f949fa354cc75252f32a5a6c5 (diff) |
common_cache_key() -> Cache::key()
Diffstat (limited to 'plugins/Minify/MinifyPlugin.php')
-rw-r--r-- | plugins/Minify/MinifyPlugin.php | 4 |
1 files changed, 2 insertions, 2 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)) { |