avoide useless cURL request to the profile page
This commit is contained in:
parent
39908f9083
commit
64f290a055
|
@ -76,7 +76,7 @@ class CheckRelMeProfileLink
|
|||
$rel = $link->getAttribute('rel');
|
||||
if ($rel == 'me') {
|
||||
$href = $link->getAttribute('href');
|
||||
if (strpos($href, 'http')!==false && !$homepageUrlVerified && Network::isUrlValid($href)) {
|
||||
if (!$homepageUrlVerified && Network::isValidHttpUrl($href)) {
|
||||
$homepageUrlVerified = Strings::compareLink($owner['url'], $href);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user