diff options
author | Evan Prodromou <evan@status.net> | 2010-09-06 10:03:51 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-09-06 10:03:51 -0400 |
commit | e42d2124a319e72f949fa354cc75252f32a5a6c5 (patch) | |
tree | cab688c9121c74f81e9edc17d85b19e209665d98 /lib | |
parent | c2de44a53042a30a1bf8e7e9384d2641c2004313 (diff) |
common_keyize() -> Cache::keyize()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cache.php | 2 | ||||
-rw-r--r-- | lib/util.php | 5 |
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)) { |