1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/16190] Deprecate phpbb's checkdnsrr wrapper

PHPBB3-16190
This commit is contained in:
rubencm
2019-10-31 20:54:21 +00:00
parent 404768a607
commit 163aac74db
7 changed files with 27 additions and 238 deletions

View File

@@ -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;
}