X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FDirectory.php;h=65034a44aebe24b19f83570ed4aa9cf6c17a587c;hb=3842f02b021f2f32dbe6707c22af5760c3353dfa;hp=d977e522d0062c883ae768c255eba45d40314e94;hpb=94b7c1fc7728b994d7940cf764652a6d9e7c1939;p=friendica.git diff --git a/src/Worker/Directory.php b/src/Worker/Directory.php index d977e522d0..65034a44ae 100644 --- a/src/Worker/Directory.php +++ b/src/Worker/Directory.php @@ -26,7 +26,7 @@ use Friendica\Core\Logger; use Friendica\Core\Worker; use Friendica\Database\DBA; use Friendica\DI; -use Friendica\Network\HTTPClient\Client\HttpClient; +use Friendica\Network\HTTPClient\Client\HttpClientAccept; /** * Sends updated profile data to the directory @@ -54,7 +54,7 @@ class Directory Logger::info('Updating directory: ' . $arr['url']); if (strlen($arr['url'])) { - DI::httpClient()->fetch($dir . '?url=' . bin2hex($arr['url']), 0, HttpClient::ACCEPT_HTML); + DI::httpClient()->fetch($dir . '?url=' . bin2hex($arr['url']), HttpClientAccept::HTML); } return;