From b50f300566143837aba3739d62caf679ec19727e Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Wed, 5 May 2010 14:46:36 -0700 Subject: Implement since_id and max_id param handling for /api/favorites --- classes/User.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes/User.php') diff --git a/classes/User.php b/classes/User.php index 1928a3c62..2abb7eeb6 100644 --- a/classes/User.php +++ b/classes/User.php @@ -464,9 +464,9 @@ class User extends Memcached_DataObject return $profile->getNotices($offset, $limit, $since_id, $before_id); } - function favoriteNotices($offset=0, $limit=NOTICES_PER_PAGE, $own=false) + function favoriteNotices($own=false, $offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $max_id=0) { - $ids = Fave::stream($this->id, $offset, $limit, $own); + $ids = Fave::stream($this->id, $offset, $limit, $own, $since_id, $max_id); return Notice::getStreamByIds($ids); } -- cgit v1.2.3-54-g00ecf