diff options
author | yemkareems <yemkareems@gmail.com> | 2024-07-04 13:42:37 +0530 |
---|---|---|
committer | yemkareems <yemkareems@gmail.com> | 2024-07-08 15:42:55 +0530 |
commit | ceedfb46162e53d39460d25b781ddc21c5a9313f (patch) | |
tree | 0e7e2446f6c9f59098297f60d21571c47d90b6ad /lib/public | |
parent | cfafbc84157a70557deca66e969b57912b66dc8f (diff) | |
download | nextcloud-server-ceedfb46162e53d39460d25b781ddc21c5a9313f.tar.gz nextcloud-server-ceedfb46162e53d39460d25b781ddc21c5a9313f.zip |
fix: removed default limit of 25. if null is given all users are fetched or if limit is given limit number of users are fetched
Signed-off-by: yemkareems <yemkareems@gmail.com>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/IConfig.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/IConfig.php b/lib/public/IConfig.php index b74292855a8..92dcfe7f8bc 100644 --- a/lib/public/IConfig.php +++ b/lib/public/IConfig.php @@ -253,11 +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|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 array of user IDs * @since 30.0.0 */ - public function getLastLoggedInUsers(int $limit, int $offset, string $search): array; + public function getLastLoggedInUsers(?int $limit = null, int $offset = 0, string $search = ''): array; } |