Skip to content

Commit

Permalink
Merge pull request #29883 from nextcloud/backport/28519/stable21
Browse files Browse the repository at this point in the history
  • Loading branch information
Pytal authored Nov 24, 2021
2 parents d0c5a24 + a830688 commit 0e1e95e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/Command/User/Report.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$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];
Expand Down

0 comments on commit 0e1e95e

Please sign in to comment.