diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-08-19 16:22:20 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2021-11-24 14:03:52 +0000 |
commit | a8306884180ac4b3e8021b0c5c172c31859ada51 (patch) | |
tree | 40735838b32923ba7c8d1f16d4c379c5975b9c2e /core | |
parent | 28f41da1864f1125a34ba519f1e4df38e7c3bf6d (diff) | |
download | nextcloud-server-a8306884180ac4b3e8021b0c5c172c31859ada51.tar.gz nextcloud-server-a8306884180ac4b3e8021b0c5c172c31859ada51.zip |
Add active user count to occ user:report
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core')
-rw-r--r-- | core/Command/User/Report.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/Command/User/Report.php b/core/Command/User/Report.php index b537884d9d6..1eda00628b4 100644 --- a/core/Command/User/Report.php +++ b/core/Command/User/Report.php @@ -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]; |