mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +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
|
* @static
|
||||||
*/
|
*/
|
||||||
function inactiveMins() {
|
function inactiveMins() {
|
||||||
$_this =& Security::getInstance();
|
|
||||||
switch (Configure::read('Security.level')) {
|
switch (Configure::read('Security.level')) {
|
||||||
case 'high':
|
case 'high':
|
||||||
return 10;
|
return 10;
|
||||||
|
@ -179,7 +178,6 @@ class Security extends Object {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
$_this =& Security::getInstance();
|
|
||||||
if (!defined('CIPHER_SEED')) {
|
if (!defined('CIPHER_SEED')) {
|
||||||
//This is temporary will change later
|
//This is temporary will change later
|
||||||
define('CIPHER_SEED', '76859309657453542496749683645');
|
define('CIPHER_SEED', '76859309657453542496749683645');
|
||||||
|
|
Loading…
Add table
Reference in a new issue