]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Don't fail if missing <Host> in host-meta; it's deprecated
authorEvan Prodromou <evan@status.net>
Fri, 4 May 2012 15:41:04 +0000 (11:41 -0400)
committerEvan Prodromou <evan@status.net>
Fri, 4 May 2012 15:41:04 +0000 (11:41 -0400)
lib/discovery.php

index 70638cf243919e37bf087d34dc7962d89a88b680..1430227c5f792094449fdbc0ac875d34cbc529b5 100644 (file)
@@ -279,10 +279,6 @@ class Discovery_LRDD_Host_Meta implements Discovery_LRDD
         $xrd = Discovery::fetchXrd($url);
 
         if ($xrd) {
-            if ($xrd->host != $domain) {
-                return false;
-            }
-
             return $xrd->links;
         }
     }