From 4eba967d63e8445cf98b968c43728c0e2ff8dd3c Mon Sep 17 00:00:00 2001 From: yemkareems Date: Mon, 8 Jul 2024 15:14:56 +0530 Subject: fix: getLastLoggedInUsers moved from AllConfig/IConfig to IUserManager/Manager Signed-off-by: yemkareems --- apps/provisioning_api/lib/Controller/UsersController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/provisioning_api/lib/Controller/UsersController.php') diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php index 1d3c1006a59..1cdc1392596 100644 --- a/apps/provisioning_api/lib/Controller/UsersController.php +++ b/apps/provisioning_api/lib/Controller/UsersController.php @@ -293,7 +293,7 @@ class UsersController extends AUserData { $users = []; // For Admin alone user sorting based on lastLogin. For sub admin and groups this is not supported - $users = $this->config->getLastLoggedInUsers($limit, $offset, $search); + $users = $this->userManager->getLastLoggedInUsers($limit, $offset, $search); $usersDetails = []; foreach ($users as $userId) { -- cgit v1.2.3