summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/cache.php2
-rw-r--r--lib/util.php5
2 files changed, 1 insertions, 6 deletions
diff --git a/lib/cache.php b/lib/cache.php
index c09a1dd9f..17cc5f047 100644
--- a/lib/cache.php
+++ b/lib/cache.php
@@ -83,7 +83,7 @@ class Cache
$base_key = common_config('cache', 'base');
if (empty($base_key)) {
- $base_key = common_keyize(common_config('site', 'name'));
+ $base_key = self::keyize(common_config('site', 'name'));
}
return 'statusnet:' . $base_key . ':' . $extra;
diff --git a/lib/util.php b/lib/util.php
index a5e29a781..f1ca009b4 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -1798,11 +1798,6 @@ function common_cache_key($extra)
return Cache::key($extra);
}
-function common_keyize($str)
-{
- return Cache::keyize($str);
-}
-
function common_license_terms($uri)
{
if(preg_match('/creativecommons.org\/licenses\/([^\/]+)/', $uri, $matches)) {