Capitalized XML
Acronym classes should be capitalized
This commit is contained in:
parent
b8d9509563
commit
bc49fc974c
12 changed files with 235 additions and 235 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue