summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/LDAP.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-10-25 22:50:04 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2018-10-25 22:50:42 +0200
commit2048872f9e5c51e120efb0b3110713095cb618ad (patch)
tree1d56bae2cd07a54d47cfdbcbc3a9d441c87638ae /apps/user_ldap/lib/LDAP.php
parent6ad7f329385f73a731f69d9f00cf5b038f3eac04 (diff)
downloadnextcloud-server-2048872f9e5c51e120efb0b3110713095cb618ad.tar.gz
nextcloud-server-2048872f9e5c51e120efb0b3110713095cb618ad.zip
functions that were checked for are present since PHP 5.4, supported is >=/
* so the check from older days is really not necessary anymore * resolves #10923 Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/lib/LDAP.php')
-rw-r--r--apps/user_ldap/lib/LDAP.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/apps/user_ldap/lib/LDAP.php b/apps/user_ldap/lib/LDAP.php
index bdc2f204225..2411b8d3438 100644
--- a/apps/user_ldap/lib/LDAP.php
+++ b/apps/user_ldap/lib/LDAP.php
@@ -239,16 +239,6 @@ class LDAP implements ILDAPWrapper {
}
/**
- * Checks whether PHP supports LDAP Paged Results
- * @return boolean if it the case, false otherwise
- * */
- public function hasPagedResultSupport() {
- $hasSupport = function_exists('ldap_control_paged_result')
- && function_exists('ldap_control_paged_result_response');
- return $hasSupport;
- }
-
- /**
* Checks whether the submitted parameter is a resource
* @param Resource $resource the resource variable to check
* @return bool true if it is a resource, false otherwise