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 /actions/twitapidirect_messages.php | |
parent | f66e996073b296ecbcaa76ac2fdb2378508bc2ac (diff) |
Ticket #1567 - API: Change before_id parameter to max_id
Diffstat (limited to 'actions/twitapidirect_messages.php')
-rw-r--r-- | actions/twitapidirect_messages.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/twitapidirect_messages.php b/actions/twitapidirect_messages.php index 7101db8df..ab8f07810 100644 --- a/actions/twitapidirect_messages.php +++ b/actions/twitapidirect_messages.php @@ -43,7 +43,7 @@ class Twitapidirect_messagesAction extends TwitterapiAction $count = $this->arg('count'); $since = $this->arg('since'); $since_id = $this->arg('since_id'); - $before_id = $this->arg('before_id'); + $max_id = $this->arg('max_id'); $page = $this->arg('page'); @@ -74,8 +74,8 @@ class Twitapidirect_messagesAction extends TwitterapiAction $link = $server . $user->nickname . '/outbox'; } - if ($before_id) { - $message->whereAdd("id < $before_id"); + if ($max_id) { + $message->whereAdd("id < $max_id"); } if ($since_id) { |