<?php
/**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
{
protected function rawContent(array $request = [])
{
- $xml = null;
$content = XML::fromArray([
'rsd' => [
'@attributes' => [
'@attributes' => [
'name' => 'Twitter',
'preferred' => 'true',
- 'apiLink' => DI::baseUrl()->get(),
+ 'apiLink' => DI::baseUrl(),
'blogID' => '',
],
'settings' => [
],
],
],
- ], $xml);
+ ]);
System::httpExit($content, Response::TYPE_XML);
}
}