1
0
Fork 0

Make "HTTPRequest::post" dynamic

This commit is contained in:
nupplaPhil 2020-03-04 22:18:28 +01:00 committed by Hypolite Petovan
commit 8793096c16
10 changed files with 25 additions and 33 deletions

View file

@ -27,7 +27,6 @@ use Friendica\Database\DBA;
use Friendica\DI;
use Friendica\Model\Contact;
use Friendica\Model\Profile;
use Friendica\Network\HTTPRequest;
use Friendica\Util\Proxy as ProxyUtils;
/**
@ -76,7 +75,7 @@ function match_content(App $a)
$host = DI::baseUrl();
}
$msearch_json = HTTPRequest::post($host . '/msearch', $params)->getBody();
$msearch_json = DI::httpRequest()->post($host . '/msearch', $params)->getBody();
$msearch = json_decode($msearch_json);