diff options
author | Evan Prodromou <evan@status.net> | 2010-03-03 15:09:07 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-03-03 15:09:07 -0500 |
commit | c82efb7fd8ba28b854020821246878fc0a8cec2b (patch) | |
tree | 4524416cc7a7c95a99dc2a93344433338603756d | |
parent | ccd0db1e0a928fe914c894966ecf2260964a68f0 (diff) |
subscribers list wasn't firing correct events
-rw-r--r-- | actions/subscribers.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/actions/subscribers.php b/actions/subscribers.php index cd3e2ee5b..4bced6284 100644 --- a/actions/subscribers.php +++ b/actions/subscribers.php @@ -143,9 +143,12 @@ class SubscribersListItem extends SubscriptionListItem function showActions() { $this->startActions(); - $this->showSubscribeButton(); - // Relevant code! - $this->showBlockForm(); + if (Event::handle('StartProfileListItemActionElements', array($this))) { + $this->showSubscribeButton(); + // Relevant code! + $this->showBlockForm(); + Event::handle('EndProfileListItemActionElements', array($this)); + } $this->endActions(); } |