X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FUpdateSuggestions.php;h=f7b4b9a0ac1339fd9522f79e1955983b4a562424;hb=4139134cfd2f86ba6fec2adef37bca16ab466514;hp=222244c1c4bf654d1b854d28f29f32610073c598;hpb=01205f7d41d8b9e180f7dc00e22c7cb18bdf7d5c;p=friendica.git diff --git a/src/Worker/UpdateSuggestions.php b/src/Worker/UpdateSuggestions.php index 222244c1c4..f7b4b9a0ac 100644 --- a/src/Worker/UpdateSuggestions.php +++ b/src/Worker/UpdateSuggestions.php @@ -1,17 +1,35 @@ . + * */ + namespace Friendica\Worker; -use Friendica\Core\Logger; -use Friendica\Model\GContact; +use Friendica\Model\Contact; +/** + * Update contact suggestions + */ class UpdateSuggestions { - // Discover other servers for their contacts. - public static function execute() + public static function execute(int $uid) { - GContact::updateSuggestions(); + Contact\Relation::updateCachedSuggestions($uid); } }