Some more deprecated function calls are replaced

This commit is contained in:
Michael 2024-05-14 08:37:10 +00:00
parent bd6616e84f
commit e12f92e516
30 changed files with 101 additions and 163 deletions

View file

@ -648,19 +648,6 @@ class Network
}
}
/**
* Check if the given URL is a local link
*
* @param string $url
*
* @return bool
* @deprecated since 2023.09, please use BaseUrl->isLocalUrl or BaseUrl->isLocalUri instead.
*/
public static function isLocalLink(string $url): bool
{
return DI::baseUrl()->isLocalUrl($url);
}
/**
* Check if the given URL is a valid HTTP/HTTPS URL
*