mirror of
https://github.com/friendica/friendica
synced 2024-12-26 14:40:16 +00:00
20 lines
351 B
PHP
20 lines
351 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* @file src/Worker/UpdateContact.php
|
||
|
*/
|
||
|
|
||
|
namespace Friendica\Worker;
|
||
|
|
||
|
use Friendica\Core\Logger;
|
||
|
use Friendica\Model\Contact;
|
||
|
|
||
|
class UpdateContact
|
||
|
{
|
||
|
public static function execute($contact_id)
|
||
|
{
|
||
|
$success = Contact::updateFromProbe($contact_id);
|
||
|
Logger::info('Updated from probe', ['id' => $contact_id, 'success' => $success]);
|
||
|
}
|
||
|
}
|