Remove test code

This commit is contained in:
Michael Vogel 2016-04-25 21:39:54 +02:00 committed by Roland Haeder
parent 33436132a0
commit ca98b47ee5
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -1103,10 +1103,8 @@ function handle_tag($a, &$body, &$inform, &$str_tags, $profile_uid, $tag, $netwo
normalise_link($matches[1])); normalise_link($matches[1]));
if ($r) if ($r)
$data = $r[0]; $data = $r[0];
else { else
$data = probe_url($matches[1]); $data = probe_url($matches[1]);
logger("probe_url ".$matches[1]);
}
if ($data["alias"] != "") { if ($data["alias"] != "") {
$newtag = '@[url='.$data["alias"].']'.$data["name"].'[/url]'; $newtag = '@[url='.$data["alias"].']'.$data["name"].'[/url]';