From e42d2124a319e72f949fa354cc75252f32a5a6c5 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 6 Sep 2010 10:03:51 -0400 Subject: common_keyize() -> Cache::keyize() --- lib/cache.php | 2 +- lib/util.php | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'lib') 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)) { -- cgit v1.2.3-54-g00ecf