diff options
author | Evan Prodromou <evan@status.net> | 2010-09-06 09:56:45 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-09-06 09:56:45 -0400 |
commit | 8f81762d68ede590e53b929c77602f0e2db0ddc2 (patch) | |
tree | d0b95b57e16e3ad5a478bc6f6118d734badc3ddb /classes/Notice.php | |
parent | 6fe2429c4191bd4b7de8c7a512dfbf78571ddbaf (diff) |
common_memcache() => Cache::instance()
Diffstat (limited to 'classes/Notice.php')
-rw-r--r-- | classes/Notice.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/Notice.php b/classes/Notice.php index 14477b1b5..066e7a584 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -591,7 +591,7 @@ class Notice extends Memcached_DataObject function getStreamByIds($ids) { - $cache = common_memcache(); + $cache = Cache::instance(); if (!empty($cache)) { $notices = array(); @@ -1585,7 +1585,7 @@ class Notice extends Memcached_DataObject function stream($fn, $args, $cachekey, $offset=0, $limit=20, $since_id=0, $max_id=0) { - $cache = common_memcache(); + $cache = Cache::instance(); if (empty($cache) || $since_id != 0 || $max_id != 0 || @@ -1777,7 +1777,7 @@ class Notice extends Memcached_DataObject function repeatStream($limit=100) { - $cache = common_memcache(); + $cache = Cache::instance(); if (empty($cache)) { $ids = $this->_repeatStreamDirect($limit); |