Replies don't have verbs (we'll do some join magic later)

This commit is contained in:
Mikael Nordfeldth 2014-07-09 21:53:21 +02:00
parent efa3e8f3f4
commit e15f322187

View File

@ -86,12 +86,6 @@ class RawReplyNoticeStream extends NoticeStream
Notice::addWhereSinceId($reply, $since_id, 'notice_id', 'modified'); Notice::addWhereSinceId($reply, $since_id, 'notice_id', 'modified');
Notice::addWhereMaxId($reply, $max_id, 'notice_id', 'modified'); Notice::addWhereMaxId($reply, $max_id, 'notice_id', 'modified');
if (!$this->allVerbs) {
$notice->whereAdd(sprintf('verb="%s" OR verb="%s"',
ActivityVerb::POST,
ActivityUtils::resolveUri(ActivityVerb::POST, true)));
}
$reply->orderBy('modified DESC, notice_id DESC'); $reply->orderBy('modified DESC, notice_id DESC');
if (!is_null($offset)) { if (!is_null($offset)) {