]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Minify/MinifyPlugin.php
common_cache_key() -> Cache::key()
[quix0rs-gnu-social.git] / plugins / Minify / MinifyPlugin.php
index 5071fd5a1f21931d3f16c53b7863c8659835f7d7..afe6edf5fd73f56ffd218d1ee4f5580289caa7b0 100644 (file)
@@ -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)) {