]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/ParseUrl.php
Don't let the tests fail. The test user doesn't have a private key
[friendica.git] / src / Util / ParseUrl.php
index cf38ffd7bec5172989efb9f6c523a328765d05bb..01ad79d4f114128d092c1eaec32d3853d2a59427 100644 (file)
@@ -27,6 +27,7 @@ use Friendica\Content\OEmbed;
 use Friendica\Core\Hook;
 use Friendica\Core\Logger;
 use Friendica\Database\DBA;
+use Friendica\DI;
 
 /**
  * Get information about a given URL
@@ -159,7 +160,7 @@ class ParseUrl
                        return $siteinfo;
                }
 
-               $curlResult = DI::httpRequest()->curl($url);
+               $curlResult = DI::httpRequest()->get($url);
                if (!$curlResult->isSuccess()) {
                        return $siteinfo;
                }