only validate once

This commit is contained in:
friendica 2012-05-01 23:16:58 -07:00
parent dd27328390
commit 1b1f56f556

View file

@ -33,9 +33,6 @@ function gprobe_run($argv, $argc){
$url = hex2bin($argv[1]); $url = hex2bin($argv[1]);
if(! validate_url($url))
return;
$r = q("select * from gcontact where nurl = '%s' limit 1", $r = q("select * from gcontact where nurl = '%s' limit 1",
dbesc(normalise_link($url)) dbesc(normalise_link($url))
); );