aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-09-08 14:47:50 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-10-20 12:56:16 +0200
commite872f461f281adaaddcaedc617de5cd1bfde44d6 (patch)
treea37b87f2dfc785ff7d1b76b1bceff85980d80063
parent50a52ac2a583577f95be2b7dbe49d1745177560b (diff)
downloadnextcloud-server-e872f461f281adaaddcaedc617de5cd1bfde44d6.tar.gz
nextcloud-server-e872f461f281adaaddcaedc617de5cd1bfde44d6.zip
Adapt interface to new search signature
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r--apps/user_ldap/lib/ILDAPWrapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/ILDAPWrapper.php b/apps/user_ldap/lib/ILDAPWrapper.php
index faace163d40..433ca96c071 100644
--- a/apps/user_ldap/lib/ILDAPWrapper.php
+++ b/apps/user_ldap/lib/ILDAPWrapper.php
@@ -154,7 +154,7 @@ interface ILDAPWrapper {
* @param int $limit optional, limits the result entries
* @return resource|\LDAP\Result|false an LDAP search result resource, false on error
*/
- public function search($link, $baseDN, $filter, $attr, $attrsOnly = 0, $limit = 0);
+ public function search($link, string $baseDN, string $filter, array $attr, int $attrsOnly = 0, int $limit = 0, int $pageSize = 0, string $cookie = '');
/**
* Replace the value of a userPassword by $password