Improve accuracy of User::getList with type = blocked
- user.blocked is used for pending registrations as well
This commit is contained in:
parent
e3c8b6def0
commit
ffb4292b0b
|
@ -1511,7 +1511,9 @@ class User
|
|||
$condition['blocked'] = false;
|
||||
break;
|
||||
case 'blocked':
|
||||
$condition['account_removed'] = false;
|
||||
$condition['blocked'] = true;
|
||||
$condition['verified'] = true;
|
||||
break;
|
||||
case 'removed':
|
||||
$condition['account_removed'] = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user