diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-05-29 16:32:55 -0700 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-05-29 16:32:55 -0700 |
commit | eb76a3bbb36e1f73007cb9b602001ec14f6853c6 (patch) | |
tree | e77163826d24d7ac48fdc2d7c2a6834eeeb45356 /classes/Notice_tag.php | |
parent | f66e996073b296ecbcaa76ac2fdb2378508bc2ac (diff) |
Ticket #1567 - API: Change before_id parameter to max_id
Diffstat (limited to 'classes/Notice_tag.php')
-rw-r--r-- | classes/Notice_tag.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/Notice_tag.php b/classes/Notice_tag.php index e5b772243..758a66594 100644 --- a/classes/Notice_tag.php +++ b/classes/Notice_tag.php @@ -46,7 +46,7 @@ class Notice_tag extends Memcached_DataObject return Notice::getStreamByIds($ids); } - function _streamDirect($tag, $offset, $limit, $since_id, $before_id, $since) + function _streamDirect($tag, $offset, $limit, $since_id, $max_id, $since) { $nt = new Notice_tag(); @@ -59,8 +59,8 @@ class Notice_tag extends Memcached_DataObject $nt->whereAdd('notice_id > ' . $since_id); } - if ($before_id != 0) { - $nt->whereAdd('notice_id < ' . $before_id); + if ($max_id != 0) { + $nt->whereAdd('notice_id < ' . $max_id); } if (!is_null($since)) { |