mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02: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:
@@ -923,9 +923,7 @@ function validate_email($email)
|
|||||||
return 'EMAIL_INVALID';
|
return 'EMAIL_INVALID';
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = 'SELECT ban_email
|
$banned = false;
|
||||||
FROM ' . BANLIST_TABLE;
|
|
||||||
$result = $db->sql_query($sql);
|
|
||||||
|
|
||||||
// TODO: This is a duplication of code from session->check_ban()
|
// 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
|
$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';
|
return 'EMAIL_BANNED';
|
||||||
}
|
}
|
||||||
|
|
||||||
$db->sql_freeresult($result);
|
|
||||||
|
|
||||||
if (!$config['allow_emailreuse'])
|
if (!$config['allow_emailreuse'])
|
||||||
{
|
{
|
||||||
$sql = 'SELECT user_email_hash
|
$sql = 'SELECT user_email_hash
|
||||||
|
Reference in New Issue
Block a user