mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Removing unnecessary getInstance() calls.
This commit is contained in:
parent
4a08bd120d
commit
26e19caad5
1 changed files with 0 additions and 2 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Reference in a new issue