Don't fail if missing <Host> in host-meta; it's deprecated
This commit is contained in:
parent
c5ae53166c
commit
7f0df2f257
@ -279,10 +279,6 @@ class Discovery_LRDD_Host_Meta implements Discovery_LRDD
|
|||||||
$xrd = Discovery::fetchXrd($url);
|
$xrd = Discovery::fetchXrd($url);
|
||||||
|
|
||||||
if ($xrd) {
|
if ($xrd) {
|
||||||
if ($xrd->host != $domain) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $xrd->links;
|
return $xrd->links;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user