mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:50:10 +00:00
Remove dependency to the second parameter of XML::fromArray
This commit is contained in:
parent
931ccde90d
commit
8bbf9e93c6
10 changed files with 23 additions and 35 deletions
|
@ -34,7 +34,6 @@ class ReallySimpleDiscovery extends BaseModule
|
|||
{
|
||||
protected function rawContent(array $request = [])
|
||||
{
|
||||
$xml = null;
|
||||
$content = XML::fromArray([
|
||||
'rsd' => [
|
||||
'@attributes' => [
|
||||
|
@ -67,7 +66,7 @@ class ReallySimpleDiscovery extends BaseModule
|
|||
],
|
||||
],
|
||||
],
|
||||
], $xml);
|
||||
]);
|
||||
System::httpExit($content, Response::TYPE_XML);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue