mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07:10:11 +00:00
Rename "HTTPRequest::curl()" to HTTPRequest::get()
This commit is contained in:
parent
e5649d6dbf
commit
7029012f27
22 changed files with 66 additions and 64 deletions
|
@ -823,7 +823,7 @@ class User
|
|||
$photo_failure = false;
|
||||
|
||||
$filename = basename($photo);
|
||||
$curlResult = DI::httpRequest()->curl($photo, true);
|
||||
$curlResult = DI::httpRequest()->get($photo, true);
|
||||
if ($curlResult->isSuccess()) {
|
||||
$img_str = $curlResult->getBody();
|
||||
$type = $curlResult->getContentType();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue