don't override show() in SingleNoticeItem

This commit is contained in:
Evan Prodromou 2011-04-20 13:38:13 -04:00
parent 9b65efd64d
commit 24e1491582

View File

@ -333,27 +333,6 @@ class ShownoticeAction extends OwnerDesignAction
// @todo FIXME: Class documentation missing.
class SingleNoticeItem extends DoFollowListItem
{
/**
* Recipe function for displaying a single notice.
*
* We overload to show attachments.
*
* @return void
*/
function show()
{
$this->showStart();
if (Event::handle('StartShowNoticeItem', array($this))) {
$this->showNotice();
$this->showNoticeAttachments();
$this->showNoticeInfo();
$this->showNoticeOptions();
Event::handle('EndShowNoticeItem', array($this));
}
$this->showEnd();
}
/**
* show the avatar of the notice's author
*