From: Zane C. Bowers-Hadley Date: Tue, 26 Jun 2018 10:03:45 +0000 (-0500) Subject: remove duplicate check X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8875cc7419dae5d56c4d09e7d8321e5bfb1057c7;p=friendica.git remove duplicate check --- diff --git a/src/Util/Network.php b/src/Util/Network.php index 2bc2203dd2..c3ecaf6060 100644 --- a/src/Util/Network.php +++ b/src/Util/Network.php @@ -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;