mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-05 19:12:42 +00:00
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:
parent
052c81774c
commit
a4e2f7c55f
8 changed files with 13 additions and 35 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue