diff options
author | Evan Prodromou <evan@status.net> | 2009-10-15 06:01:26 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-10-15 06:01:26 -0400 |
commit | 90de6eae5a6195e4455a726d7183dbefc8eeb617 (patch) | |
tree | cb43fa98e05b6c4fd9d98c0ee3fd752e9125ca94 /actions | |
parent | c1c8daa021db8629ceb46d52c3907b4844fe865e (diff) |
add more events to profile list
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(); } |