]> git.mxchange.org Git - friendica.git/blobdiff - include/gprobe.php
Diabook - move pause icon.
[friendica.git] / include / gprobe.php
index b4edbe4dba72466c9fec352f78bb4db9323040e3..88e6bad4a4f6ccb3329f7aed9e935d29a40f9ebd 100644 (file)
@@ -4,7 +4,7 @@ require_once("boot.php");
 require_once('include/Scrape.php');
 require_once('include/socgraph.php');
 
-function gprobe_run($argv, $argc){
+function gprobe_run(&$argv, &$argc){
        global $a, $db;
 
        if(is_null($a)) {
@@ -33,9 +33,6 @@ function gprobe_run($argv, $argc){
 
        $url = hex2bin($argv[1]);
 
-       if(! validate_url($url))
-               return;
-
        $r = q("select * from gcontact where nurl = '%s' limit 1",
                dbesc(normalise_link($url))
        );