]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/Directory.php
Restructure (P)Config to follow new paradigm
[friendica.git] / src / Worker / Directory.php
index 2cab09f3392fc7ebe497a277974e04fc6a139235..7b098bc9480a68e83f5c22fe545e95158ec40cd4 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, 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;