mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Moving SecurityComponent constructor code to initialize()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5451 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
5ab89f495f
commit
8f69b6f551
1 changed files with 2 additions and 2 deletions
|
@ -128,9 +128,9 @@ class SecurityComponent extends Object {
|
|||
*/
|
||||
var $components = array('RequestHandler', 'Session');
|
||||
/**
|
||||
* Security class constructor
|
||||
* Security class initialization
|
||||
*/
|
||||
function __construct () {
|
||||
function initialize(&$controller) {
|
||||
$this->Security =& Security::getInstance();
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue