]> git.mxchange.org Git - friendica.git/blobdiff - mod/match.php
Replace 'REQUEST_METHOD' with App\Arguments::getMethod()
[friendica.git] / mod / match.php
index fcaf8b529de5761bfd6702cea84bd733f6e4d8a9..02ee0c3339241bc2a5a490a5238cf3d8695da6ab 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -83,7 +83,7 @@ function match_content(App $a)
                        continue;
                }
 
-               $msearch = json_decode(DI::httpRequest()->post($server . '/msearch', $params)->getBody());
+               $msearch = json_decode(DI::httpClient()->post($server . '/msearch', $params)->getBody());
                if (!empty($msearch)) {
                        $entries = match_get_contacts($msearch, $entries, $limit);
                }