Remove deprecated App::removeBaseURL - process methods to DI::baseUrl()->remove()

This commit is contained in:
nupplaPhil
2019-12-16 00:36:31 +01:00
parent 5609e94b05
commit e93fba5136
10 changed files with 17 additions and 28 deletions

View File

@@ -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
*