1
0
Fork 0

Capitalized XML

Acronym classes should be capitalized
This commit is contained in:
Adam Magness 2017-11-10 07:45:33 -05:00
commit bc49fc974c
12 changed files with 235 additions and 235 deletions

View file

@ -7,7 +7,7 @@ use Friendica\Core\Cache;
use Friendica\Core\System;
use Friendica\Core\PConfig;
use Friendica\Database\DBM;
use Friendica\Util\Xml;
use Friendica\Util\XML;
require_once 'include/datetime.php';
require_once 'include/bbcode.php';
@ -114,7 +114,7 @@ function ping_init(App $a)
}
} else {
header("Content-type: text/xml");
echo Xml::from_array($data, $xml);
echo XML::from_array($data, $xml);
}
killme();
}
@ -411,7 +411,7 @@ function ping_init(App $a)
$data = ping_format_xml_data($data, $sysnotify_count, $notifications, $sysmsgs, $sysmsgs_info, $groups_unseen, $forums_unseen);
header("Content-type: text/xml");
echo Xml::from_array(array("result" => $data), $xml);
echo XML::from_array(array("result" => $data), $xml);
}
killme();