diff options
author | Sarven Capadisli <csarven@status.net> | 2010-03-02 15:26:27 -0500 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-03-02 15:26:27 -0500 |
commit | e9c127ddd869f44eafe7ae6b30d9dc69df8b863c (patch) | |
tree | a5847af8504385223110b579c9dab702cd766afa /classes/Notice_tag.php | |
parent | 4113f28851020509163a31ab20658429d86c3134 (diff) | |
parent | 72460091ddc6763cb8d62f9d865390ea4973dd44 (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'classes/Notice_tag.php')
-rw-r--r-- | classes/Notice_tag.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/classes/Notice_tag.php b/classes/Notice_tag.php index 4fd76e8ea..a5d0716a7 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, $max_id, $since) + function _streamDirect($tag, $offset, $limit, $since_id, $max_id) { $nt = new Notice_tag(); @@ -63,10 +63,6 @@ class Notice_tag extends Memcached_DataObject $nt->whereAdd('notice_id < ' . $max_id); } - if (!is_null($since)) { - $nt->whereAdd('created > \'' . date('Y-m-d H:i:s', $since) . '\''); - } - $nt->orderBy('notice_id DESC'); if (!is_null($offset)) { |