mirror of
https://github.com/friendica/friendica
synced 2025-05-15 03:04:11 +02:00
Remove url caching, locking cleanup
This commit is contained in:
parent
c0aebd2bd4
commit
f09d9bc9cc
11 changed files with 55 additions and 73 deletions
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue