Skip to content
Snippets Groups Projects
Commit ee3368d2 authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

replace hardcoded limit of 400 with user controlled ldapPagingSize value

parent 2e5adada
Branches
No related tags found
No related merge requests found
......@@ -777,8 +777,7 @@ class Access extends LDAPUtility {
\OCP\Util::writeLog('user_ldap', 'Count filter: '.print_r($filter, true), \OCP\Util::DEBUG);
if(is_null($limit)) {
//TODO replace 400 with $this->connection->ldapPagingSize; once PR 6221 is merged and move it to callee countUsers()
$limit = 400;
$limit = $this->connection->ldapPagingSize;
}
$counter = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment