diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-02 12:21:48 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-02 12:21:48 -0800 |
commit | 72460091ddc6763cb8d62f9d865390ea4973dd44 (patch) | |
tree | 78c13bbd3cc8774ad1bee1c92bfe0982744f8c89 /actions/apidirectmessage.php | |
parent | e3c2b8e0b50d750ad35cb313726fd2706684c09b (diff) | |
parent | b1ffbf17d3da90f4c509a47c9fd876304ed9e3fc (diff) |
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'actions/apidirectmessage.php')
-rw-r--r-- | actions/apidirectmessage.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/actions/apidirectmessage.php b/actions/apidirectmessage.php index 5355acf82..53da9e0c6 100644 --- a/actions/apidirectmessage.php +++ b/actions/apidirectmessage.php @@ -182,11 +182,6 @@ class ApiDirectMessageAction extends ApiAuthAction $message->whereAdd('id > ' . $this->since_id); } - if (!empty($since)) { - $d = date('Y-m-d H:i:s', $this->since); - $message->whereAdd("created > '$d'"); - } - $message->orderBy('created DESC, id DESC'); $message->limit((($this->page - 1) * $this->count), $this->count); $message->find(); |