mirror of
https://github.com/friendica/friendica
synced 2024-11-10 19:02:53 +00:00
Remove deprecated call
This commit is contained in:
parent
a4a7f19df1
commit
e2dc1d7477
1 changed files with 0 additions and 13 deletions
|
@ -20,19 +20,6 @@ use Friendica\Util\XML;
|
|||
*/
|
||||
class System
|
||||
{
|
||||
/**
|
||||
* @brief Removes the baseurl from an url. This avoids some mixed content problems.
|
||||
*
|
||||
* @param string $orig_url The url to be cleaned
|
||||
*
|
||||
* @return string The cleaned url
|
||||
* @throws \Exception
|
||||
*/
|
||||
public static function removedBaseUrl(string $orig_url)
|
||||
{
|
||||
return DI::baseUrl()->remove($orig_url);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Returns a string with a callstack. Can be used for logging.
|
||||
* @param integer $depth optional, default 4
|
||||
|
|
Loading…
Reference in a new issue