diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-10-26 10:28:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-26 10:28:47 +0200 |
commit | 7aa76a82bc97918498fe05f2198daa4750b8084e (patch) | |
tree | f30e248c7354896d829264830ebb57e1a2cf7ce0 /apps/user_ldap/lib/Group_LDAP.php | |
parent | aff53d6e3477afc54a56eed88d242020a92801d6 (diff) | |
parent | 2048872f9e5c51e120efb0b3110713095cb618ad (diff) | |
download | nextcloud-server-7aa76a82bc97918498fe05f2198daa4750b8084e.tar.gz nextcloud-server-7aa76a82bc97918498fe05f2198daa4750b8084e.zip |
Merge pull request #12053 from nextcloud/enhancement/10923/remove-unncessary-check
remove LDAP::hasPagedResultSupport() from PHP < 5.4 days
Diffstat (limited to 'apps/user_ldap/lib/Group_LDAP.php')
-rw-r--r-- | apps/user_ldap/lib/Group_LDAP.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Group_LDAP.php b/apps/user_ldap/lib/Group_LDAP.php index 57f5faebd2c..2240c2ad229 100644 --- a/apps/user_ldap/lib/Group_LDAP.php +++ b/apps/user_ldap/lib/Group_LDAP.php @@ -1007,7 +1007,7 @@ class Group_LDAP extends BackendUtility implements \OCP\GroupInterface, IGroupLD } $search = $this->access->escapeFilterPart($search, true); $pagingSize = (int)$this->access->connection->ldapPagingSize; - if (!$this->access->connection->hasPagedResultSupport || $pagingSize <= 0) { + if ($pagingSize <= 0) { return $this->getGroupsChunk($search, $limit, $offset); } $maxGroups = 100000; // limit max results (just for safety reasons) |