mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:10:11 +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
|
@ -294,7 +294,7 @@ class System
|
|||
}
|
||||
|
||||
DI::apiResponse()->setType(Response::TYPE_XML);
|
||||
DI::apiResponse()->addContent(XML::fromArray(["result" => $result], $xml));
|
||||
DI::apiResponse()->addContent(XML::fromArray(['result' => $result]));
|
||||
DI::page()->exit(DI::apiResponse()->generate());
|
||||
|
||||
self::exit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue