1
1
Fork 0

Remove deprecated call

This commit is contained in:
Philipp Holzer 2019-12-30 23:08:06 +01:00
parent a4a7f19df1
commit e2dc1d7477
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90

View file

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