]> git.mxchange.org Git - friendica.git/commitdiff
remove duplicate check
authorZane C. Bowers-Hadley <vvelox@vvelox.net>
Tue, 26 Jun 2018 10:03:45 +0000 (05:03 -0500)
committerZane C. Bowers-Hadley <vvelox@vvelox.net>
Tue, 26 Jun 2018 10:03:45 +0000 (05:03 -0500)
src/Util/Network.php

index 2bc2203dd27faec8c869a0681b9d2c768dac89c8..c3ecaf60607fa7a73749e305de091045856ce239 100644 (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;