Remove test code
This commit is contained in:
parent
1aa6c1dc5b
commit
cd92521c1d
|
@ -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]';
|
||||||
|
|
Loading…
Reference in a new issue