diff options
author | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2024-10-16 11:54:10 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-10-30 09:09:44 +0000 |
commit | 51d8dc76c5582ef0f0129696616eb775ef9eaa7f (patch) | |
tree | 581b3d373b6c61da51d5e86a2b0b34dbc496c8f5 | |
parent | 93a3288bd11a2091766786f69b265a5b8815f92f (diff) | |
download | nextcloud-server-51d8dc76c5582ef0f0129696616eb775ef9eaa7f.tar.gz nextcloud-server-51d8dc76c5582ef0f0129696616eb775ef9eaa7f.zip |
fix(users): use correct active user count
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
-rw-r--r-- | apps/settings/lib/Controller/UsersController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/Controller/UsersController.php b/apps/settings/lib/Controller/UsersController.php index 03d1bbd85b5..10a3e392194 100644 --- a/apps/settings/lib/Controller/UsersController.php +++ b/apps/settings/lib/Controller/UsersController.php @@ -166,7 +166,7 @@ class UsersController extends Controller { $recentUsersGroup = [ 'id' => '__nc_internal_recent', 'name' => $this->l10n->t('Recently active'), - 'usercount' => $userCount, + 'usercount' => $this->userManager->countSeenUsers(), ]; $disabledUsersGroup = [ |