mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
- Removes those silly errors during email check.
git-svn-id: file:///svn/phpbb/trunk@5525 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
fb0410903a
commit
b09c5f6a25
1 changed files with 1 additions and 5 deletions
|
@ -923,9 +923,7 @@ function validate_email($email)
|
|||
return 'EMAIL_INVALID';
|
||||
}
|
||||
|
||||
$sql = 'SELECT ban_email
|
||||
FROM ' . BANLIST_TABLE;
|
||||
$result = $db->sql_query($sql);
|
||||
$banned = false;
|
||||
|
||||
// TODO: This is a duplication of code from session->check_ban()
|
||||
$sql = 'SELECT ban_ip, ban_userid, ban_email, ban_exclude, ban_give_reason, ban_end
|
||||
|
@ -962,8 +960,6 @@ function validate_email($email)
|
|||
return 'EMAIL_BANNED';
|
||||
}
|
||||
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
if (!$config['allow_emailreuse'])
|
||||
{
|
||||
$sql = 'SELECT user_email_hash
|
||||
|
|
Loading…
Add table
Reference in a new issue