Exclude deleted user accounts from "active" user list in Model\User
This commit is contained in:
@@ -1321,6 +1321,7 @@ class User
|
|||||||
$condition = [];
|
$condition = [];
|
||||||
switch ($type) {
|
switch ($type) {
|
||||||
case 'active':
|
case 'active':
|
||||||
|
$condition['account_removed'] = false;
|
||||||
$condition['blocked'] = false;
|
$condition['blocked'] = false;
|
||||||
break;
|
break;
|
||||||
case 'blocked':
|
case 'blocked':
|
||||||
|
|||||||
Reference in New Issue
Block a user