diff --git a/app/Config/core.php b/app/Config/core.php index 142ecad14..60e31654b 100644 --- a/app/Config/core.php +++ b/app/Config/core.php @@ -188,11 +188,6 @@ 'defaults' => 'php' )); -/** - * The level of CakePHP security. - */ - Configure::write('Security.level', 'medium'); - /** * A random string used in security hashing methods. */ diff --git a/lib/Cake/Console/Templates/skel/Config/core.php b/lib/Cake/Console/Templates/skel/Config/core.php index 94913f3f6..d7fbe3a09 100644 --- a/lib/Cake/Console/Templates/skel/Config/core.php +++ b/lib/Cake/Console/Templates/skel/Config/core.php @@ -188,11 +188,6 @@ 'defaults' => 'php' )); -/** - * The level of CakePHP security. - */ - Configure::write('Security.level', 'medium'); - /** * A random string used in security hashing methods. */ diff --git a/lib/Cake/Utility/Security.php b/lib/Cake/Utility/Security.php index c3df97f21..dd077e1b3 100644 --- a/lib/Cake/Utility/Security.php +++ b/lib/Cake/Utility/Security.php @@ -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() {