diff --git a/src/Worker/UpdateFContact.php b/src/Worker/UpdateFContact.php new file mode 100644 index 000000000..260e07171 --- /dev/null +++ b/src/Worker/UpdateFContact.php @@ -0,0 +1,41 @@ +. + * + */ + +namespace Friendica\Worker; + +use Friendica\Core\Logger; +use Friendica\Model\FContact; + +class UpdateFContact +{ + /** + * Update fcontact data via probe + * + * @param string $handle Contact handle + * @return void + */ + public static function execute(string $handle) + { + $success = FContact::getByURL($handle, true); + + Logger::info('Updated from probe', ['handle' => $handle, 'success' => $success]); + } +}