X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FSearchDirectory.php;h=0bd17e0f821b58ee0cfcba77459b1e21bf891d02;hb=423e60174ef7ae4948fa44ac725c8bc54234966a;hp=5e1b1590fd5c906c5e4bd0b4d87eca1fc9b0a2a1;hpb=516018861e011865a902587876d484d6f0f42a66;p=friendica.git diff --git a/src/Worker/SearchDirectory.php b/src/Worker/SearchDirectory.php index 5e1b1590fd..0bd17e0f82 100644 --- a/src/Worker/SearchDirectory.php +++ b/src/Worker/SearchDirectory.php @@ -1,6 +1,6 @@ fetch(Search::getGlobalDirectory() . '/lsearch?p=1&n=500&search=' . urlencode($search)); + $x = DI::httpClient()->fetch(Search::getGlobalDirectory() . '/lsearch?p=1&n=500&search=' . urlencode($search), HttpClientAccept::JSON); $j = json_decode($x); if (!empty($j->results)) {