mirror of
https://github.com/friendica/friendica
synced 2025-04-27 21:10:11 +00:00
XML class standards
updated the xml class for PSR-2
This commit is contained in:
parent
aac2258bc3
commit
ddacbf2c13
9 changed files with 210 additions and 203 deletions
|
@ -127,7 +127,7 @@ class Probe
|
|||
return array();
|
||||
}
|
||||
|
||||
$links = XML::element_to_array($xrd);
|
||||
$links = XML::elementToArray($xrd);
|
||||
if (!isset($links["xrd"]["link"])) {
|
||||
logger("No xrd data found for ".$host, LOGGER_DEBUG);
|
||||
return array();
|
||||
|
@ -712,7 +712,7 @@ class Probe
|
|||
return false;
|
||||
}
|
||||
|
||||
$xrd_arr = XML::element_to_array($xrd);
|
||||
$xrd_arr = XML::elementToArray($xrd);
|
||||
if (!isset($xrd_arr["xrd"]["link"])) {
|
||||
logger("No XML webfinger links for ".$url, LOGGER_DEBUG);
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue