X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FWorker%2FUpdateSuggestions.php;h=509fee05a923c7328353b30da31674fa7aa94a75;hb=e563de4de790d7970bf5f8f52a7fac27f196af4e;hp=222244c1c4bf654d1b854d28f29f32610073c598;hpb=01205f7d41d8b9e180f7dc00e22c7cb18bdf7d5c;p=friendica.git diff --git a/src/Worker/UpdateSuggestions.php b/src/Worker/UpdateSuggestions.php index 222244c1c4..509fee05a9 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); } }