X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FUpdateSuggestions.php;h=509fee05a923c7328353b30da31674fa7aa94a75;hb=45ee7d55f0dd3026f17602b2afb9a59d08d354d6;hp=7d45434090ef4e7f15f7ae83376e1a13264f1cba;hpb=94954c810b3ee0f885029f9818b217e0817ad70b;p=friendica.git diff --git a/src/Worker/UpdateSuggestions.php b/src/Worker/UpdateSuggestions.php index 7d45434090..509fee05a9 100644 --- a/src/Worker/UpdateSuggestions.php +++ b/src/Worker/UpdateSuggestions.php @@ -1,19 +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); } }