use Notice::fetchAll() in ConversationNoticeStream

This commit is contained in:
Evan Prodromou 2011-07-14 12:54:07 -04:00
parent e48ca92914
commit 1280a9345f

View File

@ -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');
}
}