diff options
author | Zach Copley <zach@status.net> | 2009-10-20 06:06:10 +0000 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2009-10-20 06:06:10 +0000 |
commit | 09dfb08a3984b22217849b9ab73898d0687f6649 (patch) | |
tree | 666769ef0824f538eca6d6284632e27c44c50ff3 /actions | |
parent | 7539e26951ba9e1529d9a24a7a634861b7d080fe (diff) | |
parent | 19b870c439120c8d9dcdac37cd161ed00d070ba7 (diff) |
Merge branch '0.9.x' into TwitterBridgePlugin
Diffstat (limited to 'actions')
-rw-r--r-- | actions/groupmembers.php | 9 |
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(); } |