diff options
author | yemkareems <yemkareems@gmail.com> | 2024-07-08 15:14:56 +0530 |
---|---|---|
committer | yemkareems <yemkareems@gmail.com> | 2024-07-08 15:42:55 +0530 |
commit | 4eba967d63e8445cf98b968c43728c0e2ff8dd3c (patch) | |
tree | 0707144d073077c87867c205c61069115f5843b2 /lib/public | |
parent | 6ac49e549b2f22cccb35c3c7b02ac1a310536f3d (diff) | |
download | nextcloud-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 'lib/public')
-rw-r--r-- | lib/public/IConfig.php | 11 | ||||
-rw-r--r-- | lib/public/IUserManager.php | 11 |
2 files changed, 11 insertions, 11 deletions
diff --git a/lib/public/IConfig.php b/lib/public/IConfig.php index a2973dbe3ba..b7feabd0ef5 100644 --- a/lib/public/IConfig.php +++ b/lib/public/IConfig.php @@ -249,15 +249,4 @@ interface IConfig { * @since 8.0.0 */ public function getUsersForUserValue($appName, $key, $value); - - /** - * Gets the list of users sorted by lastLogin, from most recent to least recent - * - * @param int|null $limit how many records to fetch - * @param int $offset from which offset to fetch - * @param string $search search users based on search params - * @return list<string> list of user IDs - * @since 30.0.0 - */ - public function getLastLoggedInUsers(?int $limit = null, int $offset = 0, string $search = ''): array; } diff --git a/lib/public/IUserManager.php b/lib/public/IUserManager.php index 851b565f617..091ccd89048 100644 --- a/lib/public/IUserManager.php +++ b/lib/public/IUserManager.php @@ -210,4 +210,15 @@ interface IUserManager { * @since 26.0.0 */ public function validateUserId(string $uid, bool $checkDataDirectory = false): void; + + /** + * Gets the list of users sorted by lastLogin, from most recent to least recent + * + * @param int|null $limit how many records to fetch + * @param int $offset from which offset to fetch + * @param string $search search users based on search params + * @return list<string> list of user IDs + * @since 30.0.0 + */ + public function getLastLoggedInUsers(?int $limit = null, int $offset = 0, string $search = ''): array; } |