mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
Remove $binary flag for HTTPRequest::get(), HTTPRequest::fetch(), HTTPRequest::fetchAll() (deprecated since PHP 5.1.3)
This commit is contained in:
parent
0be3439cb7
commit
94b41e0859
4 changed files with 4 additions and 4 deletions
|
@ -155,7 +155,7 @@ function mailstream_do_images($a, &$item, &$attachments) {
|
|||
continue;
|
||||
}
|
||||
$cookiejar = tempnam(get_temppath(), 'cookiejar-mailstream-');
|
||||
$curlResult = DI::httpRequest()->fetchFull($url, true, 0, '', $cookiejar);
|
||||
$curlResult = DI::httpRequest()->fetchFull($url, 0, '', $cookiejar);
|
||||
$attachments[$url] = [
|
||||
'data' => $curlResult->getBody(),
|
||||
'guid' => hash("crc32", $url),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue