aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api
diff options
context:
space:
mode:
authoryemkareems <yemkareems@gmail.com>2024-07-08 15:14:56 +0530
committeryemkareems <yemkareems@gmail.com>2024-07-08 15:42:55 +0530
commit4eba967d63e8445cf98b968c43728c0e2ff8dd3c (patch)
tree0707144d073077c87867c205c61069115f5843b2 /apps/provisioning_api
parent6ac49e549b2f22cccb35c3c7b02ac1a310536f3d (diff)
downloadnextcloud-server-4eba967d63e8445cf98b968c43728c0e2ff8dd3c.tar.gz
nextcloud-server-4eba967d63e8445cf98b968c43728c0e2ff8dd3c.zip
fix: getLastLoggedInUsers moved from AllConfig/IConfig to IUserManager/Manager
Signed-off-by: yemkareems <yemkareems@gmail.com>
Diffstat (limited to 'apps/provisioning_api')
-rw-r--r--apps/provisioning_api/lib/Controller/UsersController.php2
1 files changed, 1 insertions, 1 deletions
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) {