mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update AdminInstanceController, fix instance scan
This commit is contained in:
parent
c69784f4c6
commit
79292ad610
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue