Exclude deleted user accounts from "active" user list in Model\User
This commit is contained in:
parent
b4910066b6
commit
6cde7afa53
1 changed files with 1 additions and 0 deletions
|
@ -1321,6 +1321,7 @@ class User
|
|||
$condition = [];
|
||||
switch ($type) {
|
||||
case 'active':
|
||||
$condition['account_removed'] = false;
|
||||
$condition['blocked'] = false;
|
||||
break;
|
||||
case 'blocked':
|
||||
|
|
Loading…
Reference in a new issue