forked from mirror/pixelfed
Merge pull request #1788 from pixelfed/staging
Update AdminInstanceController, fix instance scan
This commit is contained in:
commit
58669be829
|
@ -44,7 +44,7 @@ trait AdminInstanceController
|
||||||
{
|
{
|
||||||
Profile::whereNotNull('domain')
|
Profile::whereNotNull('domain')
|
||||||
->latest()
|
->latest()
|
||||||
->groupBy('domain')
|
->groupBy(['domain', 'id'])
|
||||||
->where('created_at', '>', now()->subMonths(2))
|
->where('created_at', '>', now()->subMonths(2))
|
||||||
->chunk(100, function($domains) {
|
->chunk(100, function($domains) {
|
||||||
foreach($domains as $domain) {
|
foreach($domains as $domain) {
|
||||||
|
|
Loading…
Reference in New Issue