From 26e19caad5bef4be6f2313d842f77395a16fbac2 Mon Sep 17 00:00:00 2001 From: predominant Date: Tue, 10 Nov 2009 10:30:13 +1100 Subject: [PATCH] Removing unnecessary getInstance() calls. --- cake/libs/security.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/cake/libs/security.php b/cake/libs/security.php index a595f5143..b90f8c0b1 100644 --- a/cake/libs/security.php +++ b/cake/libs/security.php @@ -61,7 +61,6 @@ class Security extends Object { * @static */ function inactiveMins() { - $_this =& Security::getInstance(); switch (Configure::read('Security.level')) { case 'high': return 10; @@ -179,7 +178,6 @@ class Security extends Object { return ''; } - $_this =& Security::getInstance(); if (!defined('CIPHER_SEED')) { //This is temporary will change later define('CIPHER_SEED', '76859309657453542496749683645');