This matches what was done in the calls and so fixes getting disabled
user list when there are several backends returning disabled users.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
return $enabled;
}
- public function getDisabledUserList(int $offset = 0, ?int $limit = null): array {
+ public function getDisabledUserList(?int $limit = null, int $offset = 0): array {
throw new \Exception('This is implemented directly in User_Proxy');
}
}
return $this->handleRequest($uid, 'setUserEnabled', [$uid, $enabled, $queryDatabaseValue, $setDatabaseValue]);
}
- public function getDisabledUserList(int $offset = 0, ?int $limit = null): array {
+ public function getDisabledUserList(?int $limit = null, int $offset = 0): array {
return array_map(
fn (OfflineUser $user) => $user->getOCName(),
array_slice(
*
* @return string[]
*/
- public function getDisabledUserList(int $offset = 0, ?int $limit = null): array;
+ public function getDisabledUserList(?int $limit = null, int $offset = 0): array;
}