]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/ModPlus/actions/remoteprofile.php
Share plugin now handles showing form in NoticeOptionItems
[quix0rs-gnu-social.git] / plugins / ModPlus / actions / remoteprofile.php
index 133646480c6b5fbd763eb480b2a8454b9c521baa..4203672030179b74d7b3bad0e5b8d500cfcabd24 100644 (file)
@@ -39,10 +39,7 @@ class RemoteProfileAction extends ShowstreamAction
             $this->raw(common_markup_to_html($markdown));
         }else{
 
-            $pnl = null;
-            if (Event::handle('ShowStreamNoticeList', array($this->notice, $this, &$pnl))) {
-                $pnl = new ProfileNoticeList($this->notice, $this);
-            }
+            $pnl = new NoticeList($this->notice, $this);
             $cnt = $pnl->show();
             if (0 == $cnt) {
                 $this->showEmptyListMessage();