aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/User
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-10-19 10:35:49 +0200
committerChristopher Ng <chrng8@gmail.com>2023-11-30 17:15:12 -0800
commitadc43eae9b143c2c89a0fcb3e3222cbd68038217 (patch)
treee8c8ed42cf2af7b9e3408b143a2447cdeecaf201 /lib/public/User
parentceca099f294ce3048da58b5c4e76048ccafbc499 (diff)
downloadnextcloud-server-adc43eae9b143c2c89a0fcb3e3222cbd68038217.tar.gz
nextcloud-server-adc43eae9b143c2c89a0fcb3e3222cbd68038217.zip
Invert parameter order in getDisabledUserList to be consistent
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>
Diffstat (limited to 'lib/public/User')
-rw-r--r--lib/public/User/Backend/IProvideEnabledStateBackend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/User/Backend/IProvideEnabledStateBackend.php b/lib/public/User/Backend/IProvideEnabledStateBackend.php
index d03beacd7b8..f12d99fd1a6 100644
--- a/lib/public/User/Backend/IProvideEnabledStateBackend.php
+++ b/lib/public/User/Backend/IProvideEnabledStateBackend.php
@@ -52,5 +52,5 @@ interface IProvideEnabledStateBackend {
*
* @return string[]
*/
- public function getDisabledUserList(int $offset = 0, ?int $limit = null): array;
+ public function getDisabledUserList(?int $limit = null, int $offset = 0): array;
}