X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FOpenSearch.php;h=94215aaa7ae77d9a22da4bf5b78488fbf72da220;hb=af18e2f2a9ef9315e0767ee395a745f17760a460;hp=e1da6741841190dcb9ad71e0e1d3442c3a8cb197;hpb=e944d7bed6b971494bff82396960d280e6a82cca;p=friendica.git diff --git a/src/Module/OpenSearch.php b/src/Module/OpenSearch.php index e1da674184..94215aaa7a 100644 --- a/src/Module/OpenSearch.php +++ b/src/Module/OpenSearch.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; @@ -17,11 +36,11 @@ class OpenSearch extends BaseModule /** * @throws \Exception */ - public static function rawContent(array $parameters = []) + protected function rawContent(array $request = []) { header('Content-type: application/opensearchdescription+xml'); - $hostname = DI::baseUrl()->getHostname()(); + $hostname = DI::baseUrl()->getHostname(); $baseUrl = DI::baseUrl()->get(); /** @var DOMDocument $xml */