Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
* 'testing' of gitorious.org:statusnet/mainline: subscribers list wasn't firing correct events
This commit is contained in:
commit
82ea0f7884
|
@ -143,9 +143,12 @@ class SubscribersListItem extends SubscriptionListItem
|
||||||
function showActions()
|
function showActions()
|
||||||
{
|
{
|
||||||
$this->startActions();
|
$this->startActions();
|
||||||
|
if (Event::handle('StartProfileListItemActionElements', array($this))) {
|
||||||
$this->showSubscribeButton();
|
$this->showSubscribeButton();
|
||||||
// Relevant code!
|
// Relevant code!
|
||||||
$this->showBlockForm();
|
$this->showBlockForm();
|
||||||
|
Event::handle('EndProfileListItemActionElements', array($this));
|
||||||
|
}
|
||||||
$this->endActions();
|
$this->endActions();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user