1
0
Fork 0

Improve accuracy of User::getList with type = blocked

- user.blocked is used for pending registrations as well
This commit is contained in:
Hypolite Petovan 2020-11-08 02:26:12 -05:00
parent e3c8b6def0
commit ffb4292b0b

View file

@ -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;