From 2048872f9e5c51e120efb0b3110713095cb618ad Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 25 Oct 2018 22:50:04 +0200 Subject: 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 --- apps/user_ldap/lib/LDAP.php | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'apps/user_ldap/lib/LDAP.php') 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 @@ -238,16 +238,6 @@ class LDAP implements ILDAPWrapper { return function_exists('ldap_connect'); } - /** - * 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 -- cgit v1.2.3