git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 1280a934 authored by Evan Prodromou's avatar Evan Prodromou

use Notice::fetchAll() in ConversationNoticeStream

parent e48ca929
......@@ -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');
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment