aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorrubencm <rubencm@gmail.com>2019-10-31 20:54:21 +0000
committerrubencm <rubencm@gmail.com>2019-10-31 20:54:21 +0000
commit163aac74dbe500eac223ea2ebdbce0a76c1d6ab4 (patch)
tree928af074d46a82d5d1a3dec5ba9cf5ad506f37fa /phpBB/includes/functions_user.php
parent404768a607a3738bf6545c87eed53eec30204be9 (diff)
downloadforums-163aac74dbe500eac223ea2ebdbce0a76c1d6ab4.tar
forums-163aac74dbe500eac223ea2ebdbce0a76c1d6ab4.tar.gz
forums-163aac74dbe500eac223ea2ebdbce0a76c1d6ab4.tar.bz2
forums-163aac74dbe500eac223ea2ebdbce0a76c1d6ab4.tar.xz
forums-163aac74dbe500eac223ea2ebdbce0a76c1d6ab4.zip
[ticket/16190] Deprecate phpbb's checkdnsrr wrapper
PHPBB3-16190
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 e0b6a9d0c6..7dd850111e 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -1910,7 +1910,7 @@ function phpbb_validate_email($email, $config = null)
{
list(, $domain) = explode('@', $email);
- if (phpbb_checkdnsrr($domain, 'A') === false && phpbb_checkdnsrr($domain, 'MX') === false)
+ if (checkdnsrr($domain, 'A') === false && checkdnsrr($domain, 'MX') === false)
{
return 'DOMAIN_NO_MX_RECORD';
}