Updating intialiize() callbacks. Moving $this->_set() int Component::__construct as all the core components did it. Updating constructors and including parent calls.

This commit is contained in:
mark_story 2010-07-04 17:09:44 -04:00
parent 052c81774c
commit a4e2f7c55f
8 changed files with 13 additions and 35 deletions

View file

@ -625,7 +625,7 @@ class Controller extends Object {
$response = $this->Components->trigger(
'beforeRedirect',
array(&$this, $url, $status, $exit),
array('break' => true, 'breakOn' => false)
array('break' => true, 'breakOn' => false, 'collectReturn' => true)
);
if ($response === false) {