mirror of
https://github.com/friendica/friendica
synced 2025-04-30 06:24:24 +02:00
Rename DI::httpRequest() into DI::httpClient()
This commit is contained in:
parent
505100bdd7
commit
13a91e63aa
38 changed files with 94 additions and 94 deletions
|
@ -47,7 +47,7 @@ class PullDirectory
|
|||
|
||||
Logger::info('Synchronization started.', ['now' => $now, 'directory' => $directory]);
|
||||
|
||||
$result = DI::httpRequest()->fetch($directory . '/sync/pull/since/' . $now);
|
||||
$result = DI::httpClient()->fetch($directory . '/sync/pull/since/' . $now);
|
||||
if (empty($result)) {
|
||||
Logger::info('Directory server return empty result.', ['directory' => $directory]);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue