mirror of
https://github.com/friendica/friendica
synced 2025-04-28 19:44:23 +02:00
Some more deprecated function calls are replaced
This commit is contained in:
parent
bd6616e84f
commit
e12f92e516
30 changed files with 101 additions and 163 deletions
|
@ -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]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue