From 34ade098bd049eca11f7a09c95f12051b646b0ff Mon Sep 17 00:00:00 2001 From: Benjamin Gaussorgues Date: Wed, 16 Oct 2024 11:54:10 +0200 Subject: fix(users): use correct active user count Signed-off-by: Benjamin Gaussorgues --- apps/settings/lib/Controller/UsersController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/settings/lib/Controller/UsersController.php b/apps/settings/lib/Controller/UsersController.php index d99319471ff..5af16878e8e 100644 --- a/apps/settings/lib/Controller/UsersController.php +++ b/apps/settings/lib/Controller/UsersController.php @@ -168,7 +168,7 @@ class UsersController extends Controller { $recentUsersGroup = [ 'id' => '__nc_internal_recent', 'name' => $this->l10n->t('Recently active'), - 'usercount' => $userCount, + 'usercount' => $this->userManager->countSeenUsers(), ]; $disabledUsersGroup = [ -- cgit v1.2.3