]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/Directory.php
Merge pull request #11296 from annando/use-abstract
[friendica.git] / src / Worker / Directory.php
index 2cab09f3392fc7ebe497a277974e04fc6a139235..d499f778ccfaf4ad4df26eba9b952281b96a4183 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -51,9 +51,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()->fetchUrl($dir . '?url=' . bin2hex($arr['url']));
+                       DI::httpClient()->fetch($dir . '?url=' . bin2hex($arr['url']));
                }
 
                return;