]> git.mxchange.org Git - friendica.git/blobdiff - include/gprobe.php
Opps, this has vanished by accident, thanks to @annando
[friendica.git] / include / gprobe.php
index 27854753418b563e5fc50b050612d166104e1e39..7169aada3f7e38435d194f770c62f8186794b9da 100644 (file)
@@ -13,9 +13,9 @@ function gprobe_run(&$argv, &$argc){
 
        if(is_null($db)) {
                @include(".htconfig.php");
-       require_once("include/dba.php");
+               require_once("include/dba.php");
                $db = new dba($db_host, $db_user, $db_pass, $db_data);
-       unset($db_host, $db_user, $db_pass, $db_data);
+               unset($db_host, $db_user, $db_pass, $db_data);
        };
 
        require_once('include/session.php');
@@ -64,7 +64,7 @@ function gprobe_run(&$argv, &$argc){
                        dbesc(normalise_link($url))
                );
        }
-       if(dbm::is_result($r)) {
+       if (dbm::is_result($r)) {
                // Check for accessibility and do a poco discovery
                if (poco_last_updated($r[0]['url'], true) AND ($r[0]["network"] == NETWORK_DFRN))
                        poco_load(0,0,$r[0]['id'], str_replace('/profile/','/poco/',$r[0]['url']));