Remove Security.level from core.php

it's not used by cake, and it can confuse users familiar with 1.3
that this setting exists yet doesn't do anything in later versions
This commit is contained in:
AD7six 2013-01-22 09:52:23 +01:00
parent 9c29fab4a4
commit 51946ff8fd
3 changed files with 1 additions and 10 deletions

View file

@ -188,11 +188,6 @@
'defaults' => 'php'
));
/**
* The level of CakePHP security.
*/
Configure::write('Security.level', 'medium');
/**
* A random string used in security hashing methods.
*/

View file

@ -188,11 +188,6 @@
'defaults' => 'php'
));
/**
* The level of CakePHP security.
*/
Configure::write('Security.level', 'medium');
/**
* A random string used in security hashing methods.
*/

View file

@ -43,6 +43,7 @@ class Security {
/**
* Get allowed minutes of inactivity based on security level.
*
* @deprecated Exists for backwards compatibility only, not used by the core
* @return integer Allowed inactivity in minutes
*/
public static function inactiveMins() {