mirror of
https://github.com/nextcloud/server.git
synced 2026-04-01 15:18:09 -04:00
Merge pull request #28519 from nextcloud/enh/user-report-active-users
Add active user count to occ user:report
This commit is contained in:
commit
bba80f82bf
1 changed files with 3 additions and 0 deletions
|
|
@ -90,6 +90,9 @@ class Report extends Command {
|
|||
$rows[] = ['user directories', $userDirectoryCount];
|
||||
}
|
||||
|
||||
$activeUsers = $this->userManager->countSeenUsers();
|
||||
$rows[] = ['active users', $activeUsers];
|
||||
|
||||
$disabledUsers = $this->config->getUsersForUserValue('core', 'enabled', 'false');
|
||||
$disabledUsersCount = count($disabledUsers);
|
||||
$rows[] = ['disabled users', $disabledUsersCount];
|
||||
|
|
|
|||
Loading…
Reference in a new issue