diff options
author | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2024-10-16 11:54:10 +0200 |
---|---|---|
committer | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2024-10-30 07:53:10 +0100 |
commit | 34ade098bd049eca11f7a09c95f12051b646b0ff (patch) | |
tree | bc54d1dd74dfacdfc45544464b98bdc36bbda8d9 /apps/settings/lib | |
parent | 14ff0e49a62ec5e507ec785e2035e3da1ddb3ce7 (diff) | |
download | nextcloud-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/settings/lib')
-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 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 = [ |