diff options
author | yemkareems <yemkareems@gmail.com> | 2024-07-04 12:38:40 +0530 |
---|---|---|
committer | yemkareems <yemkareems@gmail.com> | 2024-07-08 15:42:55 +0530 |
commit | cfafbc84157a70557deca66e969b57912b66dc8f (patch) | |
tree | f8c972d4ee22e49755f0993b6f3678e7f46ede0b /lib/public | |
parent | 4c62f78a253c0dba05493bc6a325ab8c4083d65b (diff) | |
download | nextcloud-server-cfafbc84157a70557deca66e969b57912b66dc8f.tar.gz nextcloud-server-cfafbc84157a70557deca66e969b57912b66dc8f.zip |
fix: removed references to old disabled users code. refactored query as per getDisplayNames function. limit and offset added to query. default limit set to 25.
Signed-off-by: yemkareems <yemkareems@gmail.com>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/IConfig.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/public/IConfig.php b/lib/public/IConfig.php index a91fe1e62b0..b74292855a8 100644 --- a/lib/public/IConfig.php +++ b/lib/public/IConfig.php @@ -253,9 +253,11 @@ interface IConfig { /** * Gets the list of users based on their lastLogin info asc or desc * + * @param int $limit how many records to fetch + * @param int $offset from which offset to fetch * @param string $search search users based on search params * @return array of user IDs * @since 30.0.0 */ - public function getLastLoggedInUsers($search); + public function getLastLoggedInUsers(int $limit, int $offset, string $search): array; } |