replace hardcoded limit of 400 with user controlled ldapPagingSize value

This commit is contained in:
Arthur Schiwon 2014-04-09 11:38:51 +02:00
parent 2e5adadad7
commit ee3368d2ad
1 changed files with 1 additions and 2 deletions

View File

@ -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;