diff options
author | Sarven Capadisli <csarven@status.net> | 2009-10-27 15:00:35 +0100 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2009-10-27 15:00:35 +0100 |
commit | ac47015e2b9b4a82ef497d203fb971b7f128ad41 (patch) | |
tree | c9bb929b2062f4437bafea1830a8af08d877015f /actions/groupmembers.php | |
parent | 0e029d728429009e7791ae052df4e9998e309fab (diff) | |
parent | 0b4390e7f2322a15f16919425de039d555b3e516 (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'actions/groupmembers.php')
-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(); } |