X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FPullDirectory.php;h=86c8f5a25a8293de66b090c2da0d08174a702734;hb=ab83d0dd27e46e733ecb49f25789bfb318852ac7;hp=d9a559bf5f260255f5a68958a9640baba242ea85;hpb=2a431b580f2e8f6a596e84175932e793678cde63;p=friendica.git diff --git a/src/Worker/PullDirectory.php b/src/Worker/PullDirectory.php index d9a559bf5f..86c8f5a25a 100644 --- a/src/Worker/PullDirectory.php +++ b/src/Worker/PullDirectory.php @@ -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;