]> git.mxchange.org Git - friendica.git/blobdiff - mod/oexchange.php
Move fetch_url
[friendica.git] / mod / oexchange.php
index 902499c031e9e5c44b2fd1cdbcc86e66b57f4714..79414a7f6a727f010edd7bb743369d8ccb2f8565 100644 (file)
@@ -6,6 +6,7 @@ use Friendica\App;
 use Friendica\Core\L10n;
 use Friendica\Core\System;
 use Friendica\Module\Login;
+use Friendica\Util\Network;
 
 function oexchange_init(App $a) {
 
@@ -39,7 +40,7 @@ function oexchange_content(App $a) {
        $tags = (((x($_REQUEST,'tags')) && strlen($_REQUEST['tags']))
                ? '&tags=' . urlencode(notags(trim($_REQUEST['tags']))) : '');
 
-       $s = fetch_url(System::baseUrl() . '/parse_url?f=&url=' . $url . $title . $description . $tags);
+       $s = Network::fetchURL(System::baseUrl() . '/parse_url?f=&url=' . $url . $title . $description . $tags);
 
        if (! strlen($s)) {
                return;