diff options
author | Evan Prodromou <evan@status.net> | 2010-09-06 10:07:43 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-09-06 10:07:43 -0400 |
commit | a319b40c97c2fd6527eeb81d7d2f2d703756ef80 (patch) | |
tree | 19f849d8abddc24b609d33a5710efb97b37a972f /classes/User.php | |
parent | e42d2124a319e72f949fa354cc75252f32a5a6c5 (diff) |
common_cache_key() -> Cache::key()
Diffstat (limited to 'classes/User.php')
-rw-r--r-- | classes/User.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/classes/User.php b/classes/User.php index 36db22612..c15ddc9dc 100644 --- a/classes/User.php +++ b/classes/User.php @@ -491,10 +491,10 @@ class User extends Memcached_DataObject if ($cache) { // Faves don't happen chronologically, so we need to blow // ;last cache, too - $cache->delete(common_cache_key('fave:ids_by_user:'.$this->id)); - $cache->delete(common_cache_key('fave:ids_by_user:'.$this->id.';last')); - $cache->delete(common_cache_key('fave:ids_by_user_own:'.$this->id)); - $cache->delete(common_cache_key('fave:ids_by_user_own:'.$this->id.';last')); + $cache->delete(Cache::key('fave:ids_by_user:'.$this->id)); + $cache->delete(Cache::key('fave:ids_by_user:'.$this->id.';last')); + $cache->delete(Cache::key('fave:ids_by_user_own:'.$this->id)); + $cache->delete(Cache::key('fave:ids_by_user_own:'.$this->id.';last')); } $profile = $this->getProfile(); $profile->blowFaveCount(); |