Remove url caching, locking cleanup

This commit is contained in:
Michael 2020-08-06 18:53:45 +00:00
parent c0aebd2bd4
commit f09d9bc9cc
11 changed files with 55 additions and 73 deletions

View file

@ -29,14 +29,11 @@ class UpdateContact
/**
* Update contact data via probe
* @param int $contact_id Contact ID
* @param string $command
*/
public static function execute($contact_id, $command = '')
public static function execute($contact_id)
{
$force = ($command == "force");
$success = Contact::updateFromProbe($contact_id);
$success = Contact::updateFromProbe($contact_id, '', $force);
Logger::info('Updated from probe', ['id' => $contact_id, 'force' => $force, 'success' => $success]);
Logger::info('Updated from probe', ['id' => $contact_id, 'success' => $success]);
}
}