summaryrefslogtreecommitdiff
path: root/actions/groupmembers.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-10-15 06:01:26 -0400
committerEvan Prodromou <evan@status.net>2009-10-15 06:01:26 -0400
commit90de6eae5a6195e4455a726d7183dbefc8eeb617 (patch)
treecb43fa98e05b6c4fd9d98c0ee3fd752e9125ca94 /actions/groupmembers.php
parentc1c8daa021db8629ceb46d52c3907b4844fe865e (diff)
add more events to profile list
Diffstat (limited to 'actions/groupmembers.php')
-rw-r--r--actions/groupmembers.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/actions/groupmembers.php b/actions/groupmembers.php
index dcbdd3759..b326a0df7 100644
--- a/actions/groupmembers.php
+++ b/actions/groupmembers.php
@@ -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();
}