Make "HTTPRequest::post" dynamic

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

View file

@ -507,7 +507,7 @@ function dfrn_poll_content(App $a)
. '&sec=' . $sec
);
} else {
$s = HTTPRequest::post($r[0]['poll'], [
$s = DI::httpRequest()->post($r[0]['poll'], [
'dfrn_id' => $encrypted_id,
'type' => 'profile-check',
'dfrn_version' => DFRN_PROTOCOL_VERSION,