diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-10-14 14:31:00 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-10-14 14:31:00 +0200 |
commit | 87bd628241b002c866c0d425cd8c95a42d04f31a (patch) | |
tree | 86cdf07af26469a5b3208d539b2c1a33359435f2 /phpBB/phpbb/passwords/driver/salted_md5.php | |
parent | 61f60d395a5f16105a18790f2f73eddcd830e475 (diff) | |
download | forums-87bd628241b002c866c0d425cd8c95a42d04f31a.tar forums-87bd628241b002c866c0d425cd8c95a42d04f31a.tar.gz forums-87bd628241b002c866c0d425cd8c95a42d04f31a.tar.bz2 forums-87bd628241b002c866c0d425cd8c95a42d04f31a.tar.xz forums-87bd628241b002c866c0d425cd8c95a42d04f31a.zip |
[feature/passwords] Minor cleanup in passwords files
PHPBB3-11610
Diffstat (limited to 'phpBB/phpbb/passwords/driver/salted_md5.php')
-rw-r--r-- | phpBB/phpbb/passwords/driver/salted_md5.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/phpBB/phpbb/passwords/driver/salted_md5.php b/phpBB/phpbb/passwords/driver/salted_md5.php index bccf61dc07..96dd298789 100644 --- a/phpBB/phpbb/passwords/driver/salted_md5.php +++ b/phpBB/phpbb/passwords/driver/salted_md5.php @@ -105,7 +105,6 @@ class salted_md5 extends \phpbb\passwords\driver\base { return (md5($password) === $hash) ? true : false; } - // No need to check prefix, already did that in manage if ($hash === $this->hash($password, $hash)) { @@ -121,8 +120,6 @@ class salted_md5 extends \phpbb\passwords\driver\base */ protected function generate_salt() { - $salt = ''; - $random = ''; $count = 6; $random = $this->helper->get_random_salt($count); |