use Notice::fetchAll() in ConversationNoticeStream
This commit is contained in:
parent
e48ca92914
commit
1280a9345f
|
@ -95,14 +95,6 @@ class RawConversationNoticeStream extends NoticeStream
|
|||
Notice::addWhereSinceId($notice, $since_id);
|
||||
Notice::addWhereMaxId($notice, $max_id);
|
||||
|
||||
$ids = array();
|
||||
|
||||
if ($notice->find()) {
|
||||
while ($notice->fetch()) {
|
||||
$ids[] = $notice->id;
|
||||
}
|
||||
}
|
||||
|
||||
return $ids;
|
||||
return $notice->fetchAll('id');
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user