1
0
Fork 0
friendica_2020-09-1_sharedH.../src/Worker/UpdateContact.php

20 lines
351 B
PHP
Raw Normal View History

2019-04-08 23:06:15 +02:00
<?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]);
}
}