From: Evan Prodromou Date: Wed, 20 Apr 2011 17:38:13 +0000 (-0400) Subject: don't override show() in SingleNoticeItem X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=24e1491582a96c8649a21a3c72b809c1c49e0f33;p=quix0rs-gnu-social.git don't override show() in SingleNoticeItem --- diff --git a/actions/shownotice.php b/actions/shownotice.php index f11140e40c..1e45694fae 100644 --- a/actions/shownotice.php +++ b/actions/shownotice.php @@ -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 *