only validate once
This commit is contained in:
parent
dd27328390
commit
1b1f56f556
|
@ -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))
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue