mirror of
https://github.com/friendica/friendica
synced 2025-05-06 07:04:10 +02:00
Remove deprecated App::setBaseURL() - process methods to DI::baseUrl()->saveByURL()
This commit is contained in:
parent
50be94aa5e
commit
e57a87f224
3 changed files with 2 additions and 16 deletions
14
src/App.php
14
src/App.php
|
@ -285,20 +285,6 @@ class App
|
|||
return $this->baseURL->get($ssl);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Initializes the baseurl components
|
||||
*
|
||||
* Clears the baseurl cache to prevent inconsistencies
|
||||
*
|
||||
* @param string $url
|
||||
*
|
||||
* @deprecated 2019.06 - use BaseURL->saveByURL($url) instead
|
||||
*/
|
||||
public function setBaseURL($url)
|
||||
{
|
||||
$this->baseURL->saveByURL($url);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the current UserAgent as a String
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue