diff options
author | Zach Copley <zach@status.net> | 2010-05-05 14:46:36 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-05-05 14:46:36 -0700 |
commit | b50f300566143837aba3739d62caf679ec19727e (patch) | |
tree | 152f809555ade259ac5488243e2433c223f6ae7e /classes/User.php | |
parent | c2bda7726c05c6c7f5ef4f9519e56f107bc4e1e5 (diff) |
Implement since_id and max_id param handling for /api/favorites
Diffstat (limited to 'classes/User.php')
-rw-r--r-- | classes/User.php | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |