summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-04-09 11:38:51 +0200
committerArthur Schiwon <blizzz@owncloud.com>2014-04-09 11:38:51 +0200
commitee3368d2ad8c362e27d904bbb22c7b741b09cff8 (patch)
tree506c8b469c9773f5413a9f7ae8535e11e6fcbb84 /apps/user_ldap
parent2e5adadad7b779f0794a6ecddb2b0f51b9214b4a (diff)
downloadnextcloud-server-ee3368d2ad8c362e27d904bbb22c7b741b09cff8.tar.gz
nextcloud-server-ee3368d2ad8c362e27d904bbb22c7b741b09cff8.zip
replace hardcoded limit of 400 with user controlled ldapPagingSize value
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/lib/access.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php
index ce97aaff145..0b3ff4aa15e 100644
--- a/apps/user_ldap/lib/access.php
+++ b/apps/user_ldap/lib/access.php
@@ -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;