mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Rename DI::httpRequest() into DI::httpClient()
This commit is contained in:
parent
9c266e59cf
commit
adada10eb6
19 changed files with 25 additions and 25 deletions
|
@ -325,7 +325,7 @@ EOT;
|
|||
Logger::log('wppost: data: ' . $xml, Logger::DATA);
|
||||
|
||||
if ($wp_blog !== 'test') {
|
||||
$x = DI::httpRequest()->post($wp_blog, $xml)->getBody();
|
||||
$x = DI::httpClient()->post($wp_blog, $xml)->getBody();
|
||||
}
|
||||
Logger::log('posted to wordpress: ' . (($x) ? $x : ''), Logger::DEBUG);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue