Commit
…__construct as all the core components did it. Updating constructors and including parent calls.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -268,7 +268,7 @@ class AuthComponent extends Component { | |
* @param object $controller A reference to the instantiating controller object | ||
* @return void | ||
*/ | ||
public function initialize(&$controller, $settings = array()) { | ||
public function initialize(&$controller) { | ||
This comment has been minimized.
Sorry, something went wrong.
CauanCabral
Contributor
|
||
$this->params = $controller->params; | ||
$crud = array('create', 'read', 'update', 'delete'); | ||
$this->actionMap = array_merge($this->actionMap, array_combine($crud, $crud)); | ||
|
@@ -290,8 +290,7 @@ public function initialize(&$controller, $settings = array()) { | |
)); | ||
} | ||
} | ||
$this->_set($settings); | ||
if (Configure::read('debug') > 0) { | ||
if (Configure::read() > 0) { | ||
App::import('Debugger'); | ||
Debugger::checkSecurityKeys(); | ||
} | ||
|
I'm talking about that line @markstory , but that isn't in 1.3 branche.
So, again, sorry my mistake.