summaryrefslogtreecommitdiff
path: root/actions/groupmembers.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-10-20 06:06:10 +0000
committerZach Copley <zach@status.net>2009-10-20 06:06:10 +0000
commit09dfb08a3984b22217849b9ab73898d0687f6649 (patch)
tree666769ef0824f538eca6d6284632e27c44c50ff3 /actions/groupmembers.php
parent7539e26951ba9e1529d9a24a7a634861b7d080fe (diff)
parent19b870c439120c8d9dcdac37cd161ed00d070ba7 (diff)
Merge branch '0.9.x' into TwitterBridgePlugin
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();
}