X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fostatus_subscribe.php;h=7f9725b85359ca7163078ef1a0f9c03610c397f6;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=5670820623449c1e65f2c77da79c09b3e32b71ed;hpb=5437e99090b53c0c8d48c57812211f755fff5800;p=friendica.git diff --git a/mod/ostatus_subscribe.php b/mod/ostatus_subscribe.php index 5670820623..7f9725b853 100644 --- a/mod/ostatus_subscribe.php +++ b/mod/ostatus_subscribe.php @@ -24,7 +24,7 @@ function ostatus_subscribe_content(App $a) $uid = local_user(); - $a = get_app(); + $a = \get_app(); $counter = intval($_REQUEST['counter']); @@ -77,8 +77,8 @@ function ostatus_subscribe_content(App $a) $o .= '
' . $counter . '/' . $total . ': ' . $url; - $curlResult = Probe::uri($url); - if ($curlResult['network'] == Protocol::OSTATUS) { + $probed = Probe::uri($url); + if ($probed['network'] == Protocol::OSTATUS) { $result = Contact::createFromProbe($uid, $url, true, Protocol::OSTATUS); if ($result['success']) { $o .= ' - ' . L10n::t('success');