Move remaining functions

update remaining function calls
This commit is contained in:
Adam Magness 2018-01-27 08:25:54 -05:00
commit ca76e49c23
19 changed files with 58 additions and 51 deletions

View file

@ -104,7 +104,7 @@ function dfrn_poll_init(App $a)
logger("dfrn_poll: old profile returns " . $s, LOGGER_DATA);
if (strlen($s)) {
$xml = parse_xml_string($s);
$xml = Network::parseXmlString($s);
if ((int) $xml->status === 1) {
$_SESSION['authenticated'] = 1;
@ -521,7 +521,7 @@ function dfrn_poll_content(App $a)
logger("dfrn_poll: sec profile: " . $s, LOGGER_DATA);
if (strlen($s) && strstr($s, '<?xml')) {
$xml = parse_xml_string($s);
$xml = Network::parseXmlString($s);
logger('dfrn_poll: profile: parsed xml: ' . print_r($xml, true), LOGGER_DATA);