X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fwebfinger.php;h=e1e5b367b9d2054edd878f4201bd4b47e6c3c553;hb=0c9cc29a51941eb572bf16fd5489d0947d47d033;hp=4024671b02f271c5a31956b58d54bb98afaf2259;hpb=0c764684bb32a9432fd161e62db907efb78af1a5;p=friendica.git diff --git a/mod/webfinger.php b/mod/webfinger.php index 4024671b02..e1e5b367b9 100644 --- a/mod/webfinger.php +++ b/mod/webfinger.php @@ -1,6 +1,6 @@ Webfinger Diagnostic'; @@ -13,14 +13,10 @@ function webfinger_content(&$a) { if(x($_GET,'addr')) { $addr = trim($_GET['addr']); - if(strpos($addr,'@' !== false)) - $res = webfinger($addr); - else - $res = lrdd($addr); + $res = Probe::lrdd($addr); $o .= '
'; $o .= str_replace("\n",''; } return $o; } -}
',print_r($res,true)); $o .= '