]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
don't override show() in SingleNoticeItem
authorEvan Prodromou <evan@status.net>
Wed, 20 Apr 2011 17:38:13 +0000 (13:38 -0400)
committerEvan Prodromou <evan@status.net>
Wed, 20 Apr 2011 17:38:13 +0000 (13:38 -0400)
actions/shownotice.php

index f11140e40c9ff5174f4e7399ddef388d05ad8cfd..1e45694fae85e249e6e83c8ad9d7957c70df571b 100644 (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
      *