mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00: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
|
@ -204,7 +204,7 @@ function mailstream_do_images(&$item, &$attachments)
|
|||
continue;
|
||||
}
|
||||
$cookiejar = tempnam(get_temppath(), 'cookiejar-mailstream-');
|
||||
$curlResult = DI::httpRequest()->fetchFull($url, 0, '', $cookiejar);
|
||||
$curlResult = DI::httpClient()->fetchFull($url, 0, '', $cookiejar);
|
||||
$attachments[$url] = [
|
||||
'data' => $curlResult->getBody(),
|
||||
'guid' => hash("crc32", $url),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue