Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()
This commit is contained in:
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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user