]> git.mxchange.org Git - friendica.git/blobdiff - include/update_gcontact.php
Merge remote-tracking branch 'refs/remotes/friendica/develop' into develop
[friendica.git] / include / update_gcontact.php
index f59f487653c09e103a80bedf89445e5f413722ff..08d4149a716343e6f0ef137cc8cde5b0e0d2476f 100644 (file)
@@ -6,14 +6,15 @@ function update_gcontact_run(&$argv, &$argc){
        global $a;
 
        require_once('include/Scrape.php');
-       require_once("include/socgraph.php");
+       require_once('include/socgraph.php');
 
        logger('update_gcontact: start');
 
-       if(($argc > 1) && (intval($argv[1])))
+       if (($argc > 1) && (intval($argv[1]))) {
                $contact_id = intval($argv[1]);
+       }
 
-       if(!$contact_id) {
+       if (!$contact_id) {
                logger('update_gcontact: no contact');
                return;
        }