Rename DI::httpRequest() into DI::httpClient()

This commit is contained in:
Philipp 2021-08-25 21:54:54 +02:00
parent 9c266e59cf
commit adada10eb6
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD
19 changed files with 25 additions and 25 deletions

View file

@ -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);