Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest"
This commit is contained in:
committed by
Hypolite Petovan
parent
2889d59b83
commit
5344efef71
@@ -27,7 +27,7 @@ use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\Profile;
|
||||
use Friendica\Util\Network;
|
||||
use Friendica\Network\HTTPRequest;
|
||||
use Friendica\Util\Proxy as ProxyUtils;
|
||||
|
||||
/**
|
||||
@@ -76,7 +76,7 @@ function match_content(App $a)
|
||||
$host = DI::baseUrl();
|
||||
}
|
||||
|
||||
$msearch_json = Network::post($host . '/msearch', $params)->getBody();
|
||||
$msearch_json = HTTPRequest::post($host . '/msearch', $params)->getBody();
|
||||
|
||||
$msearch = json_decode($msearch_json);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user