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:
nate 2007-07-22 21:21:08 +00:00
parent 5ab89f495f
commit 8f69b6f551

View file

@ -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();
}
/**