aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
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/phpbb
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/phpbb')
-rw-r--r--phpBB/phpbb/session.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/session.php b/phpBB/phpbb/session.php
index 7624a67b05..ba200f38df 100644
--- a/phpBB/phpbb/session.php
+++ b/phpBB/phpbb/session.php
@@ -1400,7 +1400,7 @@ class session
foreach ($dnsbl_check as $dnsbl => $lookup)
{
- if (phpbb_checkdnsrr($reverse_ip . '.' . $dnsbl . '.', 'A') === true)
+ if (checkdnsrr($reverse_ip . '.' . $dnsbl . '.', 'A') === true)
{
$info = array($dnsbl, $lookup . $ip);
}
@@ -1444,7 +1444,7 @@ class session
{
// One problem here... the return parameter for the "windows" method is different from what
// we expect... this may render this check useless...
- if (phpbb_checkdnsrr($uri . '.multi.uribl.com.', 'A') === true)
+ if (checkdnsrr($uri . '.multi.uribl.com.', 'A') === true)
{
return true;
}