Remove deprecated call
This commit is contained in:
parent
a4a7f19df1
commit
e2dc1d7477
|
@ -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 New Issue
Block a user