]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/groupmembers.php
Fix plural forms notation: replace " or " by " || ". Missed the comment on http:...
[quix0rs-gnu-social.git] / actions / groupmembers.php
index dcbdd375972272a709afe0fee6cb7c2805095653..b326a0df75f2b8f80b05f24c039789be96791bbd 100644 (file)
@@ -179,9 +179,12 @@ class GroupMemberListItem extends ProfileListItem
     function showActions()
     {
         $this->startActions();
-        $this->showSubscribeButton();
-        $this->showMakeAdminForm();
-        $this->showGroupBlockForm();
+        if (Event::handle('StartProfileListItemActionElements', array($this))) {
+            $this->showSubscribeButton();
+            $this->showMakeAdminForm();
+            $this->showGroupBlockForm();
+            Event::handle('EndProfileListItemActionElements', array($this));
+        }
         $this->endActions();
     }