X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FDirectory.php;h=d6294d049893a6049e0deaebd4461cdb2709793a;hb=d34432c517a97a5d1b61fd90e117c1a9cb3e172c;hp=d71e593dc5673c7b4de59a399ac21e658c051b9f;hpb=c6b45a958e3b09bc8f3950a718c181dfc9e0b910;p=friendica.git diff --git a/src/Worker/Directory.php b/src/Worker/Directory.php index d71e593dc5..d6294d0498 100644 --- a/src/Worker/Directory.php +++ b/src/Worker/Directory.php @@ -1,6 +1,6 @@ get('system', 'directory'); + $dir = Search::getGlobalDirectory(); if (!strlen($dir)) { return; @@ -51,9 +53,9 @@ class Directory Hook::callAll('globaldir_update', $arr); - Logger::log('Updating directory: ' . $arr['url'], Logger::DEBUG); + Logger::info('Updating directory: ' . $arr['url']); if (strlen($arr['url'])) { - DI::httpRequest()->fetch($dir . '?url=' . bin2hex($arr['url'])); + DI::httpClient()->fetch($dir . '?url=' . bin2hex($arr['url']), HttpClientAccept::HTML); } return;