]> git.mxchange.org Git - friendica.git/blobdiff - mod/oexchange.php
version 2021.03-dev
[friendica.git] / mod / oexchange.php
index 4746651c16985262ff3732bc00deac1ac8d9cc65..f68fe6f2d2dbd09bf25f0a4ca98bb1a8282f1334 100644 (file)
@@ -44,7 +44,6 @@ function oexchange_content(App $a) {
        }
 
        if (($a->argc > 1) && $a->argv[1] === 'done') {
-               info(DI::l10n()->t('Post successful.') . EOL);
                return;
        }
 
@@ -57,7 +56,7 @@ function oexchange_content(App $a) {
        $tags = ((!empty($_REQUEST['tags']))
                ? '&tags=' . urlencode(Strings::escapeTags(trim($_REQUEST['tags']))) : '');
 
-       $s = DI::httpRequest()->fetchUrl(DI::baseUrl() . '/parse_url?url=' . $url . $title . $description . $tags);
+       $s = DI::httpRequest()->fetch(DI::baseUrl() . '/parse_url?url=' . $url . $title . $description . $tags);
 
        if (!strlen($s)) {
                return;