Whitespace fixes
authorBen Klang <ben@alkaloid.net>
Wed, 30 Dec 2009 16:06:13 +0000 (11:06 -0500)
committerGunnar Wrobel <wrobel@temple.(none)>
Fri, 12 Feb 2010 21:00:32 +0000 (22:00 +0100)
framework/Ldap/lib/Horde/Ldap.php
framework/Ldap/lib/Horde/Ldap/SimpleFileSchemaCache.php

index 38510f9..25f45de 100644 (file)
@@ -774,7 +774,7 @@ class Horde_Ldap
                 if (($this->errorMessage($error_code) === 'LDAP_OPERATIONS_ERROR') &&
                     ($this->_config['auto_reconnect'])) {
                     // The server has become disconnected before trying the
-                    // operation.  We should try again, possibly with a 
+                    // operation.  We should try again, possibly with a
                     // different server.
                     $this->_link = false;
                     $this->performReconnect();
@@ -1686,4 +1686,4 @@ class Horde_Ldap
         }
         return $this->_link;
     }
-}
\ No newline at end of file
+}
index 8019654..cb596fd 100644 (file)
@@ -45,16 +45,16 @@ class Net_LDAP2_SimpleFileSchemaCache implements Net_LDAP2_SchemaCache
     */
     public function Net_LDAP2_SimpleFileSchemaCache($cfg)
     {
-       foreach ($cfg as $key => $value) {
-                       if (array_key_exists($key, $this->config)) {
-                               if (gettype($this->config[$key]) != gettype($value)) {
-                                       $this->getCore()->dropFatalError(__CLASS__.": Could not set config! Key $key does not match type ".gettype($this->config[$key])."!");
-                               }
-                               $this->config[$key] = $value;
-                       } else {
-                               $this->getCore()->dropFatalError(__CLASS__.": Could not set config! Key $key is not defined!");
-                       }
-               }
+        foreach ($cfg as $key => $value) {
+            if (array_key_exists($key, $this->config)) {
+                if (gettype($this->config[$key]) != gettype($value)) {
+                    $this->getCore()->dropFatalError(__CLASS__.": Could not set config! Key $key does not match type ".gettype($this->config[$key])."!");
+                }
+                $this->config[$key] = $value;
+            } else {
+                $this->getCore()->dropFatalError(__CLASS__.": Could not set config! Key $key is not defined!");
+            }
+        }
     }
 
     /**