Merge pull request #10873 from martincodes-de/count-user-correctly
add condition to count accounts that arent removed
This commit is contained in:
commit
a60fe907fb
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ abstract class BaseUsers extends BaseAdmin
|
|||
{
|
||||
$active = DBA::count('user', ['blocked' => false, 'verified' => true, 'account_removed' => false]);
|
||||
$pending = Register::getPendingCount();
|
||||
$blocked = DBA::count('user', ['blocked' => true, 'verified' => true]);
|
||||
$blocked = DBA::count('user', ['blocked' => true, 'verified' => true, 'account_removed' => false]);
|
||||
$deleted = DBA::count('user', ['account_removed' => true]);
|
||||
|
||||
$tabs = [
|
||||
|
|
Loading…
Reference in a new issue