]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/Images.php
Make "HTTPRequest::curl" dynamic
[friendica.git] / src / Util / Images.php
index 35f0cfc042e4be875e1116814b048bc361a846dc..9e3be4f4f902f3425c38cf8ddf05b1a453898756 100644 (file)
@@ -24,6 +24,7 @@ namespace Friendica\Util;
 use Friendica\Core\Logger;
 use Friendica\Core\System;
 use Friendica\DI;
+use Friendica\Network\HTTPRequest;
 
 /**
  * Image utilities
@@ -184,7 +185,7 @@ class Images
                        return $data;
                }
 
-               $img_str = Network::fetchUrl($url, true, 4);
+               $img_str = HTTPRequest::fetchUrl($url, true, 4);
 
                if (!$img_str) {
                        return [];