mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-22 19:13:28 +08:00
user modify migrate
This commit is contained in:
@@ -360,7 +360,9 @@ class HitAndRunRepository extends BaseRepository
|
||||
}
|
||||
$users = User::query()
|
||||
->with('language')
|
||||
->where('class', '<', User::CLASS_VIP)
|
||||
->where('enabled', User::ENABLED_YES)
|
||||
->where('donor', 'no')
|
||||
->find($result->pluck('uid')->toArray(), ['id', 'username', 'lang']);
|
||||
do_log("$logPrefix, Going to disable user: " . json_encode($users->toArray()));
|
||||
foreach ($users as $user) {
|
||||
|
||||
Reference in New Issue
Block a user