diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2013-05-30 16:09:06 +0200 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2013-05-30 16:09:06 +0200 |
| commit | 6d5da402ecfe686a918608875eda8d0d817d4c07 (patch) | |
| tree | 74b679330d7a9beff224f9b284124d0da130cbd0 /phpBB/includes/functions_user.php | |
| parent | 3f657bc63e6649da43d860be1848116c42214a65 (diff) | |
| download | forums-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.php | 2 |
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') { |
