1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 16:24:29 +00:00

Update SuggestionService

This commit is contained in:
Daniel Supernault 2019-05-12 22:19:44 -06:00
parent 32c0019209
commit b7a7368c62
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -45,6 +45,7 @@ class SuggestionService {
$ids = Profile::whereNull('domain')
->whereIsSuggestable(true)
->whereIsPrivate(false)
->whereHas('statuses')
->pluck('id');
foreach($ids as $id) {
self::set($id);