mirror of
https://github.com/friendica/friendica
synced 2025-04-27 21:50:11 +00:00
Move xml to namespace
Relocate xml from include to src Related to #3878
This commit is contained in:
parent
037d6ac17b
commit
f245bc8359
12 changed files with 5394 additions and 5137 deletions
|
@ -13,10 +13,9 @@ use Friendica\Core\System;
|
|||
use Friendica\Core\Cache;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Util\Xml;
|
||||
|
||||
use dba;
|
||||
use xml;
|
||||
|
||||
use DomXPath;
|
||||
use DOMDocument;
|
||||
|
||||
|
@ -124,7 +123,7 @@ class Probe {
|
|||
return array();
|
||||
}
|
||||
|
||||
$links = xml::element_to_array($xrd);
|
||||
$links = Xml::element_to_array($xrd);
|
||||
if (!isset($links["xrd"]["link"])) {
|
||||
logger("No xrd data found for ".$host, LOGGER_DEBUG);
|
||||
return array();
|
||||
|
@ -706,7 +705,7 @@ class Probe {
|
|||
return false;
|
||||
}
|
||||
|
||||
$xrd_arr = xml::element_to_array($xrd);
|
||||
$xrd_arr = Xml::element_to_array($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