Merge pull request #6917 from pixelfed/staging

Update UserAccountDelete command
pull/6919/head
dansup 4 weeks ago committed by GitHub
commit 88d4713b8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -242,7 +242,7 @@ class UserAccountDelete extends Command
placeholder: 'john.appleseed',
options: fn (string $value) => strlen($value) > 0
? User::withTrashed()
->whereStatus('deleted')
->whereIn('status', ['deleted', 'delete'])
->where('username', 'like', "%{$value}%")
->pluck('username', 'id')
->all()

Loading…
Cancel
Save