]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Activity/lib/systemlistitem.php
pluginified most of hasFave, getFaves and related calls
[quix0rs-gnu-social.git] / plugins / Activity / lib / systemlistitem.php
index c6753e5ff198fe124fc2809a1292204795bc8ae2..958dfbc495906991fa6cd8b0e7c571c28477580c 100644 (file)
@@ -79,8 +79,10 @@ class SystemListItem extends NoticeListItemAdapter
             $user = common_current_user();
             if (!empty($user)) {
                 $this->nli->out->elementStart('div', 'notice-options');
-                $this->showFaveForm();
-                $this->showReplyLink();
+                if (Event::handle('StartShowNoticeOptionItems', array($this))) {
+                    $this->showReplyLink();
+                    Event::handle('EndShowNoticeOptionItems', array($this));
+                }
                 $this->nli->out->elementEnd('div');
             }
             Event::handle('EndShowNoticeOptions', array($this));