mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 18:38:49 +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
|
@ -702,7 +702,7 @@ function twitter_post_hook(App $a, array &$b)
|
|||
continue;
|
||||
}
|
||||
|
||||
$img_str = DI::httpRequest()->fetch($image['url']);
|
||||
$img_str = DI::httpClient()->fetch($image['url']);
|
||||
|
||||
$tempfile = tempnam(get_temppath(), 'cache');
|
||||
file_put_contents($tempfile, $img_str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue