Rename "HTTPRequest::curl()" to HTTPRequest::get()
This commit is contained in:
committed by
Hypolite Petovan
parent
e5649d6dbf
commit
7029012f27
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user