]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/Images.php
Merge remote-tracking branch 'upstream/develop' into logging
[friendica.git] / src / Util / Images.php
index dd4848606bb6c0c9a76ab18c7bb7203eb5466561..8a810510f0489916363b98e1d397e430b602a9e0 100644 (file)
@@ -189,10 +189,11 @@ class Images
                        if (!empty($photo)) {
                                $img_str = Photo::getImageDataForPhoto($photo);
                        }
+                       // @todo Possibly add a check for locally stored files
                }
 
                if (empty($img_str)) {
-                       $img_str = DI::httpRequest()->fetch($url, 4);
+                       $img_str = DI::httpClient()->fetch($url, 4);
                }
 
                if (!$img_str) {