diff options
author | Jarkko Lehtoranta <devel@jlranta.com> | 2017-06-13 21:28:19 +0300 |
---|---|---|
committer | Jarkko Lehtoranta <devel@jlranta.com> | 2017-07-23 14:50:01 +0300 |
commit | ee2c6e8215c05fd9b257dafc9a34795318484fcf (patch) | |
tree | 03ab972b80cb7d1053f187aea59a16e0dcb34e34 /apps/user_ldap | |
parent | 039a836d4abd0956889aaa4d5cf6f7740a0d2e88 (diff) | |
download | nextcloud-server-ee2c6e8215c05fd9b257dafc9a34795318484fcf.tar.gz nextcloud-server-ee2c6e8215c05fd9b257dafc9a34795318484fcf.zip |
LDAP: Remove unnecessary "recursion" fix
This reverts commit 86d72b9a61f5e8a9b57c6f0bb431eb6722aa12a3
"LDAP: fix possible recursion".
Signed-off-by: Jarkko Lehtoranta <devel@jlranta.com>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/lib/Connection.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/user_ldap/lib/Connection.php b/apps/user_ldap/lib/Connection.php index d3da4f8dadc..66dfd80adc9 100644 --- a/apps/user_ldap/lib/Connection.php +++ b/apps/user_ldap/lib/Connection.php @@ -599,17 +599,10 @@ class Connection extends LDAPUtility { * Binds to LDAP */ public function bind() { - static $getConnectionResourceAttempt = false; if(!$this->configuration->ldapConfigurationActive) { return false; } - if($getConnectionResourceAttempt) { - $getConnectionResourceAttempt = false; - return false; - } - $getConnectionResourceAttempt = true; $cr = $this->getConnectionResource(); - $getConnectionResourceAttempt = false; if(!$this->ldap->isResource($cr)) { return false; } |