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

This commit is contained in:
Philipp
2021-08-25 21:54:54 +02:00
parent 505100bdd7
commit 13a91e63aa
38 changed files with 94 additions and 94 deletions

View File

@@ -1098,7 +1098,7 @@ class User
$photo_failure = false;
$filename = basename($photo);
$curlResult = DI::httpRequest()->get($photo);
$curlResult = DI::httpClient()->get($photo);
if ($curlResult->isSuccess()) {
$img_str = $curlResult->getBody();
$type = $curlResult->getContentType();