aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-05-30 16:09:06 +0200
committerMarc Alexander <admin@m-a-styles.de>2013-05-30 16:09:06 +0200
commit6d5da402ecfe686a918608875eda8d0d817d4c07 (patch)
tree74b679330d7a9beff224f9b284124d0da130cbd0 /phpBB/includes/functions_user.php
parent3f657bc63e6649da43d860be1848116c42214a65 (diff)
downloadforums-6d5da402ecfe686a918608875eda8d0d817d4c07.tar
forums-6d5da402ecfe686a918608875eda8d0d817d4c07.tar.gz
forums-6d5da402ecfe686a918608875eda8d0d817d4c07.tar.bz2
forums-6d5da402ecfe686a918608875eda8d0d817d4c07.tar.xz
forums-6d5da402ecfe686a918608875eda8d0d817d4c07.zip
[ticket/11579] Remove unnecessary globals from validate_password()
The globals $db and $user are not used in that function. PHPBB3-11579
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 2b26c6787c..ea8b0a4640 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -1554,7 +1554,7 @@ function validate_username($username, $allowed_username = false)
*/
function validate_password($password)
{
- global $config, $db, $user;
+ global $config;
if ($password === '' || $config['pass_complex'] === 'PASS_TYPE_ANY')
{