$item = new ThreadedNoticeListMoreItem($moreCutoff, $this->out, count($notices));
$item->show();
}
- NoticeList::prefill($notices, AVATAR_MINI_SIZE);
foreach (array_reverse($notices) as $notice) {
if (Event::handle('StartShowThreadedNoticeSub', array($this, $this->notice, $notice))) {
$item = new ThreadedNoticeListSubItem($notice, $this->notice, $this->out);
{
function getProfiles()
{
- $rep = $this->notice->repeatStream();
+ $repeats = $this->notice->getRepeats();
$profiles = array();
- while ($rep->fetch()) {
+
+ foreach ($repeats as $rep) {
$profiles[] = $rep->profile_id;
}
+
return $profiles;
}