]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/Directory.php
Move FSuggest to depository
[friendica.git] / src / Worker / Directory.php
index 2cab09f3392fc7ebe497a277974e04fc6a139235..3dcaa7205bf3cca6e6ed6add49baa5379bd53c8c 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
  *
@@ -53,7 +53,7 @@ class Directory
 
                Logger::log('Updating directory: ' . $arr['url'], Logger::DEBUG);
                if (strlen($arr['url'])) {
-                       DI::httpRequest()->fetchUrl($dir . '?url=' . bin2hex($arr['url']));
+                       DI::httpClient()->fetch($dir . '?url=' . bin2hex($arr['url']));
                }
 
                return;