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
|
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.
|
* @brief Returns a string with a callstack. Can be used for logging.
|
||||||
* @param integer $depth optional, default 4
|
* @param integer $depth optional, default 4
|
||||||
|
|
Loading…
Reference in a new issue