From: Evan Prodromou Date: Thu, 14 Jul 2011 16:54:07 +0000 (-0400) Subject: use Notice::fetchAll() in ConversationNoticeStream X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1280a9345f2e1774612a122a5a30882cfc365d97;p=quix0rs-gnu-social.git use Notice::fetchAll() in ConversationNoticeStream --- diff --git a/lib/conversationnoticestream.php b/lib/conversationnoticestream.php index 66075db84f..adf610ffe7 100644 --- a/lib/conversationnoticestream.php +++ b/lib/conversationnoticestream.php @@ -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