mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 09:04:26 +02:00
Remove deprecated App::removeBaseURL - process methods to DI::baseUrl()->remove()
This commit is contained in:
parent
5609e94b05
commit
e93fba5136
10 changed files with 17 additions and 28 deletions
15
src/App.php
15
src/App.php
|
@ -323,21 +323,6 @@ class App
|
|||
return $this->baseURL->getUrlPath();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Removes the base url from an url. This avoids some mixed content problems.
|
||||
*
|
||||
* @param string $origURL
|
||||
*
|
||||
* @return string The cleaned url
|
||||
*
|
||||
* @deprecated 2019.09 - Use BaseURL->remove() instead
|
||||
* @see BaseURL::remove()
|
||||
*/
|
||||
public function removeBaseURL(string $origURL)
|
||||
{
|
||||
return $this->baseURL->remove($origURL);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the current UserAgent as a String
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue