mirror of
https://github.com/friendica/friendica
synced 2025-05-06 06:24:11 +02: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
12
src/App.php
12
src/App.php
|
@ -299,18 +299,6 @@ class App
|
|||
$this->baseURL->saveByURL($url);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the current hostname
|
||||
*
|
||||
* @return string
|
||||
*
|
||||
* @deprecated 2019.06 - use BaseURL->getHostname() instead
|
||||
*/
|
||||
public function getHostName()
|
||||
{
|
||||
return $this->baseURL->getHostname();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the current UserAgent as a String
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue