Cut repeats out of the magic handling

This commit is contained in:
Brion Vibber 2011-02-28 17:23:01 -08:00
parent 407cc851cc
commit 082ddf365e

View File

@ -157,6 +157,7 @@ class ThreadedNoticeListItem extends NoticeListItem
function showEnd() function showEnd()
{ {
if (!$this->repeat) {
$notice = Notice::conversationStream($this->notice->conversation, 0, self::INITIAL_ITEMS + 2); $notice = Notice::conversationStream($this->notice->conversation, 0, self::INITIAL_ITEMS + 2);
$notices = array(); $notices = array();
$cnt = 0; $cnt = 0;
@ -187,6 +188,7 @@ class ThreadedNoticeListItem extends NoticeListItem
} }
$this->out->elementEnd('ul'); $this->out->elementEnd('ul');
} }
}
parent::showEnd(); parent::showEnd();
} }