summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/user_ldap.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-10-27 23:39:30 +0100
committerArthur Schiwon <blizzz@owncloud.com>2014-11-20 18:31:39 +0100
commitf725cc66a385311d9995ec4215f57448b59f124e (patch)
treeabd35b868ec32fe783823f0a02021a9760a0e1a3 /apps/user_ldap/user_ldap.php
parentcb3af1dce294ab058162b3c4d1a0feb84465dd0b (diff)
downloadnextcloud-server-f725cc66a385311d9995ec4215f57448b59f124e.tar.gz
nextcloud-server-f725cc66a385311d9995ec4215f57448b59f124e.zip
consolidate user count filter in wizard and user back end
Diffstat (limited to 'apps/user_ldap/user_ldap.php')
-rw-r--r--apps/user_ldap/user_ldap.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php
index 6e244311d4a..c2f87ebeb22 100644
--- a/apps/user_ldap/user_ldap.php
+++ b/apps/user_ldap/user_ldap.php
@@ -290,8 +290,7 @@ class USER_LDAP extends BackendUtility implements \OCP\UserInterface {
* @return int|bool
*/
public function countUsers() {
- $filter = \OCP\Util::mb_str_replace(
- '%uid', '*', $this->access->connection->ldapLoginFilter, 'UTF-8');
+ $filter = $this->access->getFilterForUserCount();
$entries = $this->access->countUsers($filter);
return $entries;
}