summaryrefslogtreecommitdiff
path: root/actions/apidirectmessage.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-03-02 15:26:27 -0500
committerSarven Capadisli <csarven@status.net>2010-03-02 15:26:27 -0500
commite9c127ddd869f44eafe7ae6b30d9dc69df8b863c (patch)
treea5847af8504385223110b579c9dab702cd766afa /actions/apidirectmessage.php
parent4113f28851020509163a31ab20658429d86c3134 (diff)
parent72460091ddc6763cb8d62f9d865390ea4973dd44 (diff)
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'actions/apidirectmessage.php')
-rw-r--r--actions/apidirectmessage.php5
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();