Permalink
Browse files

Removing unnecessary getInstance() calls.

  • Loading branch information...
1 parent 4a08bd1 commit 26e19caad5bef4be6f2313d842f77395a16fbac2 @predominant predominant committed Nov 9, 2009
Showing with 0 additions and 2 deletions.
  1. +0 −2 cake/libs/security.php
View
@@ -61,7 +61,6 @@ function &getInstance() {
* @static
*/
function inactiveMins() {
- $_this =& Security::getInstance();
switch (Configure::read('Security.level')) {
case 'high':
return 10;
@@ -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');

0 comments on commit 26e19ca

Please sign in to comment.