summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Auth/LDAP.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Auth/LDAP.php b/lib/Auth/LDAP.php
index a7dfe1c..8ef191e 100644
--- a/lib/Auth/LDAP.php
+++ b/lib/Auth/LDAP.php
@@ -1603,10 +1603,10 @@ class LDAP extends Net_LDAP3 {
$this->mc_available += intval($this->memcache->addServer(
$host, $port, $pconnect, 1, 1, 15, false, array($this, 'memcache_failure')));
}
- }
- // test connection and failover (will result in $this->mc_available == 0 on complete failure)
- $this->memcache->increment('__CONNECTIONTEST__', 1); // NOP if key doesn't exist
+ // test connection and failover (will result in $this->mc_available == 0 on complete failure)
+ $this->memcache->increment('__CONNECTIONTEST__', 1); // NOP if key doesn't exist
+ }
if (!$this->mc_available) {
$this->memcache = false;