From 24e1491582a96c8649a21a3c72b809c1c49e0f33 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 20 Apr 2011 13:38:13 -0400 Subject: [PATCH] don't override show() in SingleNoticeItem --- actions/shownotice.php | 21 --------------------- 1 file changed, 21 deletions(-) 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 * -- 2.39.5