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
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue