mirror of
https://github.com/friendica/friendica
synced 2025-04-29 11:44:24 +02:00
Curl Response Refactoring
- refactored Network::post() - replaced every Network::post() execution with the new Curl container
This commit is contained in:
parent
2dec8895a9
commit
7c73e8634c
10 changed files with 24 additions and 25 deletions
|
@ -287,7 +287,7 @@ class OnePoll
|
|||
$postvars['dfrn_version'] = DFRN_PROTOCOL_VERSION;
|
||||
$postvars['perm'] = 'rw';
|
||||
|
||||
$xml = Network::post($contact['poll'], $postvars);
|
||||
$xml = Network::post($contact['poll'], $postvars)->getBody();
|
||||
|
||||
} elseif (($contact['network'] === Protocol::OSTATUS)
|
||||
|| ($contact['network'] === Protocol::DIASPORA)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue