summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-10-20 00:53:08 +0000
committerZach Copley <zach@status.net>2009-10-20 00:53:08 +0000
commit19b870c439120c8d9dcdac37cd161ed00d070ba7 (patch)
tree415fcca4597685cf2d953d6cb56e226b157f3421 /actions
parent9cdd77625e25e7c506121d42b28c1ec870c2d4e4 (diff)
parentf7a3b30f5b8d42fca0fb8e2f0eb661601a282763 (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'actions')
-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();
}