X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fupdate_gcontact.php;h=08d4149a716343e6f0ef137cc8cde5b0e0d2476f;hb=4812f4c0f93915c20e4b3a9727fe0535a9d72721;hp=f59f487653c09e103a80bedf89445e5f413722ff;hpb=4de057804c0292da7fa92688fd3d29f33adf35f9;p=friendica.git diff --git a/include/update_gcontact.php b/include/update_gcontact.php index f59f487653..08d4149a71 100644 --- a/include/update_gcontact.php +++ b/include/update_gcontact.php @@ -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; }