mirror of
https://github.com/friendica/friendica
synced 2025-04-19 10:30:10 +00:00
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get()
This commit is contained in:
parent
e57a87f224
commit
e944d7bed6
43 changed files with 76 additions and 120 deletions
|
@ -22,7 +22,7 @@ class OpenSearch extends BaseModule
|
|||
header('Content-type: application/opensearchdescription+xml');
|
||||
|
||||
$hostname = DI::baseUrl()->getHostname()();
|
||||
$baseUrl = DI::app()->getBaseURL();
|
||||
$baseUrl = DI::baseUrl()->get();
|
||||
|
||||
/** @var DOMDocument $xml */
|
||||
$xml = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue