mirror of
https://github.com/friendica/friendica
synced 2025-05-02 15:44:24 +02:00
Rename DI::httpRequest() into DI::httpClient()
This commit is contained in:
parent
505100bdd7
commit
13a91e63aa
38 changed files with 94 additions and 94 deletions
|
@ -490,7 +490,7 @@ class Photo
|
|||
|
||||
$filename = basename($image_url);
|
||||
if (!empty($image_url)) {
|
||||
$ret = DI::httpRequest()->get($image_url);
|
||||
$ret = DI::httpClient()->get($image_url);
|
||||
$img_str = $ret->getBody();
|
||||
$type = $ret->getContentType();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue