summaryrefslogtreecommitdiff
path: root/classes/Fave.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-05-29 16:32:55 -0700
committerZach Copley <zach@controlyourself.ca>2009-05-29 16:32:55 -0700
commiteb76a3bbb36e1f73007cb9b602001ec14f6853c6 (patch)
treee77163826d24d7ac48fdc2d7c2a6834eeeb45356 /classes/Fave.php
parentf66e996073b296ecbcaa76ac2fdb2378508bc2ac (diff)
Ticket #1567 - API: Change before_id parameter to max_id
Diffstat (limited to 'classes/Fave.php')
-rw-r--r--classes/Fave.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/Fave.php b/classes/Fave.php
index 915b4572f..cdb479856 100644
--- a/classes/Fave.php
+++ b/classes/Fave.php
@@ -46,7 +46,7 @@ class Fave extends Memcached_DataObject
return $ids;
}
- function _streamDirect($user_id, $offset, $limit, $since_id, $before_id, $since)
+ function _streamDirect($user_id, $offset, $limit, $since_id, $max_id, $since)
{
$fav = new Fave();
@@ -59,8 +59,8 @@ class Fave extends Memcached_DataObject
$fav->whereAdd('notice_id > ' . $since_id);
}
- if ($before_id != 0) {
- $fav->whereAdd('notice_id < ' . $before_id);
+ if ($max_id != 0) {
+ $fav->whereAdd('notice_id < ' . $max_id);
}
if (!is_null($since)) {