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;
|
$condition['blocked'] = false;
|
||||||
break;
|
break;
|
||||||
case 'blocked':
|
case 'blocked':
|
||||||
|
$condition['account_removed'] = false;
|
||||||
$condition['blocked'] = true;
|
$condition['blocked'] = true;
|
||||||
|
$condition['verified'] = true;
|
||||||
break;
|
break;
|
||||||
case 'removed':
|
case 'removed':
|
||||||
$condition['account_removed'] = true;
|
$condition['account_removed'] = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user