remove duplicate check

This commit is contained in:
Zane C. Bowers-Hadley 2018-06-26 05:03:45 -05:00
parent ea64ec21ac
commit 8875cc7419

View file

@ -495,7 +495,7 @@ class Network
if (($h) && (dns_get_record($h, DNS_A + DNS_MX) || filter_var($h, FILTER_VALIDATE_IP) )) {
return true;
}
if (($h) && (dns_get_record($h, DNS_CNAME + DNS_MX) || filter_var($h, FILTER_VALIDATE_IP) )) {
if (($h) && dns_get_record($h, DNS_CNAME + DNS_MX)) {
return true;
}
return false;