]> source.dussan.org Git - nextcloud-server.git/commitdiff
replace hardcoded limit of 400 with user controlled ldapPagingSize value
authorArthur Schiwon <blizzz@owncloud.com>
Wed, 9 Apr 2014 09:38:51 +0000 (11:38 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Wed, 9 Apr 2014 09:38:51 +0000 (11:38 +0200)
apps/user_ldap/lib/access.php

index ce97aaff145ef2e73546ca58f5e782cc6859864d..0b3ff4aa15e661f65aa3db545addc987120021de 100644 (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;