X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FUpdateSuggestions.php;h=509fee05a923c7328353b30da31674fa7aa94a75;hb=b227d65dfc086c4d61e471360c09a34abf21a301;hp=222244c1c4bf654d1b854d28f29f32610073c598;hpb=598f314577d4c7f30c62f38d014471f3ff3c31f0;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); } }