Fixed regression in OStatus sub from WebFinger/XML_XRD update
XML_XRD::getAll requires arguments (at least relation). If one really want all links, just get the 'links' array. It's public! Also, not all XML_XRD_Element_Link were migrated from the previous array style.
This commit is contained in:
@@ -24,7 +24,7 @@ class DiscoveryHints {
|
||||
{
|
||||
$hints = array();
|
||||
|
||||
foreach ($xrd->getAll() as $link) {
|
||||
foreach ($xrd->links as $link) {
|
||||
switch ($link->rel) {
|
||||
case WebFinger::PROFILEPAGE:
|
||||
$hints['profileurl'] = $link->href;
|
||||
|
Reference in New Issue
Block a user