avoide useless cURL request to the profile page
This commit is contained in:
parent
39908f9083
commit
64f290a055
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue