diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-10-25 22:50:04 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-10-25 22:50:42 +0200 |
commit | 2048872f9e5c51e120efb0b3110713095cb618ad (patch) | |
tree | 1d56bae2cd07a54d47cfdbcbc3a9d441c87638ae /apps/user_ldap/lib/Connection.php | |
parent | 6ad7f329385f73a731f69d9f00cf5b038f3eac04 (diff) | |
download | nextcloud-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/Connection.php')
-rw-r--r-- | apps/user_ldap/lib/Connection.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/apps/user_ldap/lib/Connection.php b/apps/user_ldap/lib/Connection.php index c912d9f89f8..7becf311a22 100644 --- a/apps/user_ldap/lib/Connection.php +++ b/apps/user_ldap/lib/Connection.php @@ -50,7 +50,6 @@ use OCP\ILogger; * @property string ldapUserDisplayName2 * @property string ldapUserAvatarRule * @property boolean turnOnPasswordChange - * @property boolean hasPagedResultSupport * @property string[] ldapBaseUsers * @property int|null ldapPagingSize holds an integer * @property bool|mixed|void ldapGroupMemberAssocAttr @@ -67,7 +66,6 @@ class Connection extends LDAPUtility { private $configPrefix; private $configID; private $configured = false; - private $hasPagedResultSupport = true; //whether connection should be kept on __destruct private $dontDestruct = false; @@ -112,9 +110,6 @@ class Connection extends LDAPUtility { $helper = new Helper(\OC::$server->getConfig()); $this->doNotValidate = !in_array($this->configPrefix, $helper->getServerConfigurationPrefixes()); - $this->hasPagedResultSupport = - (int)$this->configuration->ldapPagingSize !== 0 - || $this->ldap->hasPagedResultSupport(); } public function __destruct() { @@ -146,10 +141,6 @@ class Connection extends LDAPUtility { $this->readConfiguration(); } - if($name === 'hasPagedResultSupport') { - return $this->hasPagedResultSupport; - } - return $this->configuration->$name; } |