From ee3695600056051ae3c974ca40a9e1dc38f4aaab Mon Sep 17 00:00:00 2001 From: nate Date: Wed, 24 Sep 2008 23:05:51 +0000 Subject: [PATCH] Minor security class refactoring. git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7659 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/security.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cake/libs/security.php b/cake/libs/security.php index 473499f63..590e3328b 100644 --- a/cake/libs/security.php +++ b/cake/libs/security.php @@ -87,11 +87,10 @@ class Security extends Object { * @static */ function generateAuthKey() { - $_this =& Security::getInstance(); if(!class_exists('String')) { App::import('Core', 'String'); } - return $_this->hash(String::uuid()); + return Security::hash(String::uuid()); } /** * Validate authorization hash. @@ -102,7 +101,6 @@ class Security extends Object { * @static */ function validateAuthKey($authKey) { - $_this =& Security::getInstance(); return true; } /**