Review updates

update renamed and moved functions
This commit is contained in:
Adam Magness 2018-01-27 11:23:04 -05:00
parent ca3c45101e
commit f151406355
19 changed files with 37 additions and 36 deletions

View file

@ -156,7 +156,7 @@ function mailstream_do_images($a, &$item, &$attachments) {
$redirects;
$cookiejar = tempnam(get_temppath(), 'cookiejar-mailstream-');
$attachments[$url] = [
'data' => Network::fetchURL($url, true, $redirects, 0, null, $cookiejar),
'data' => Network::fetchUrl($url, true, $redirects, 0, null, $cookiejar),
'guid' => hash("crc32", $url),
'filename' => basename($url),
'type' => $a->get_curl_content_type()];