Skip to content

Commit

Permalink
Removing unnecessary getInstance() calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
predominant committed Nov 9, 2009
1 parent 4a08bd1 commit 26e19ca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cake/libs/security.php
Expand Up @@ -61,7 +61,6 @@ function &getInstance() {
* @static
*/
function inactiveMins() {
$_this =& Security::getInstance();
switch (Configure::read('Security.level')) {
case 'high':
return 10;
Expand Down Expand Up @@ -179,7 +178,6 @@ function cipher($text, $key) {
return '';
}

$_this =& Security::getInstance();
if (!defined('CIPHER_SEED')) {
//This is temporary will change later
define('CIPHER_SEED', '76859309657453542496749683645');
Expand Down

0 comments on commit 26e19ca

Please sign in to comment.