diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/GeonamesPlugin.php | 2 | ||||
-rw-r--r-- | plugins/LdapCommon/LdapCommon.php | 2 | ||||
-rw-r--r-- | plugins/Minify/MinifyPlugin.php | 4 | ||||
-rw-r--r-- | plugins/Minify/minify.php | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/plugins/GeonamesPlugin.php b/plugins/GeonamesPlugin.php index dd882715b..b64ebdba9 100644 --- a/plugins/GeonamesPlugin.php +++ b/plugins/GeonamesPlugin.php @@ -420,7 +420,7 @@ class GeonamesPlugin extends Plugin if ($this->cachePrefix) { return $this->cachePrefix . ':' . $key; } else { - return common_cache_key($key); + return Cache::key($key); } } diff --git a/plugins/LdapCommon/LdapCommon.php b/plugins/LdapCommon/LdapCommon.php index f53660a4c..d583e3085 100644 --- a/plugins/LdapCommon/LdapCommon.php +++ b/plugins/LdapCommon/LdapCommon.php @@ -130,7 +130,7 @@ class LdapCommon if (!empty($c)) { $cacheObj = new MemcacheSchemaCache( array('c'=>$c, - 'cacheKey' => common_cache_key('ldap_schema:' . $config_id))); + 'cacheKey' => Cache::key('ldap_schema:' . $config_id))); $ldap->registerSchemaCache($cacheObj); } self::$ldap_connections[$config_id] = $ldap; 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)) { |