EndActionExecute event should only run if the Action is not overridden

This commit is contained in:
Mikael Nordfeldth 2015-06-06 20:13:11 +02:00
parent 9712a92853
commit 15643c802b
1 changed files with 3 additions and 4 deletions

View File

@ -125,11 +125,10 @@ class Action extends HTMLOutputter // lawsuit
} else {
common_debug('Prepare failed for Action.');
}
$this->flush();
Event::handle('EndActionExecute', array($this));
}
$this->flush();
Event::handle('EndActionExecute', array($this));
}
/**