mirror of
https://github.com/friendica/friendica
synced 2025-04-19 08:30:11 +00:00
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()
This commit is contained in:
parent
2900389696
commit
50be94aa5e
23 changed files with 34 additions and 50 deletions
|
@ -21,7 +21,7 @@ class OpenSearch extends BaseModule
|
|||
{
|
||||
header('Content-type: application/opensearchdescription+xml');
|
||||
|
||||
$hostname = DI::app()->getHostName();
|
||||
$hostname = DI::baseUrl()->getHostname()();
|
||||
$baseUrl = DI::app()->getBaseURL();
|
||||
|
||||
/** @var DOMDocument $xml */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue