]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/Images.php
Merge branch 'develop' of https://github.com/friendica/friendica into develop
[friendica.git] / src / Util / Images.php
index 2d161a5c43232e8e3590dff6021dd3343f13a173..f39b0db00dc235a643475159e562724bc4c0c0b6 100644 (file)
@@ -184,7 +184,7 @@ class Images
                        return $data;
                }
 
-               $img_str = DI::httpRequest()->fetchUrl($url, true, 4);
+               $img_str = DI::httpRequest()->fetch($url, true, 4);
 
                if (!$img_str) {
                        return [];
@@ -200,7 +200,7 @@ class Images
 
                                $stamp1 = microtime(true);
                                file_put_contents($tempfile, $img_str);
-                               DI::profiler()->saveTimestamp($stamp1, "file", System::callstack());
+                               DI::profiler()->saveTimestamp($stamp1, "file");
 
                                $data = getimagesize($tempfile);
                                unlink($tempfile);