Cut repeats out of the magic handling
This commit is contained in:
parent
407cc851cc
commit
082ddf365e
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user