4 * @file src/Worker/UpdateGcontact.php
7 namespace Friendica\Worker;
9 use Friendica\Core\Logger;
10 use Friendica\Model\GContact;
11 use Friendica\Database\DBA;
15 public static function execute($url, $command = '')
17 $force = ($command == "force");
19 $success = GContact::updateFromProbe($url, $force);
21 Logger::info('Updated from probe', ['url' => $url, 'force' => $force, 'success' => $success]);