aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBenjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>2024-10-16 11:54:10 +0200
committerBenjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>2024-10-30 07:53:10 +0100
commit34ade098bd049eca11f7a09c95f12051b646b0ff (patch)
treebc54d1dd74dfacdfc45544464b98bdc36bbda8d9 /apps
parent14ff0e49a62ec5e507ec785e2035e3da1ddb3ce7 (diff)
downloadnextcloud-server-34ade098bd049eca11f7a09c95f12051b646b0ff.tar.gz
nextcloud-server-34ade098bd049eca11f7a09c95f12051b646b0ff.zip
fix(users): use correct active user count
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/settings/lib/Controller/UsersController.php2
1 files changed, 1 insertions, 1 deletions
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 = [