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

@ -83,7 +83,7 @@ class HttpClient implements ICanSendHttpRequests
return CurlResult::createErrorCurl($this->logger, $url);
}
if (Network::isLocalLink($url)) {
if ($this->baseUrl->isLocalUrl($url)) {
$this->logger->info('Local link', ['url' => $url]);
}
@ -249,7 +249,7 @@ class HttpClient implements ICanSendHttpRequests
{
$this->profiler->startRecording('network');
if (Network::isLocalLink($url)) {
if ($this->baseUrl->isLocalUrl($url)) {
$this->logger->debug('Local link', ['url' => $url]);
}