From 5d22a71a423ff0db42c68ecfb371ac60e01d79be Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Wed, 30 Dec 2009 11:06:13 -0500 Subject: [PATCH] Whitespace fixes --- framework/Ldap/lib/Horde/Ldap.php | 4 ++-- .../Ldap/lib/Horde/Ldap/SimpleFileSchemaCache.php | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/framework/Ldap/lib/Horde/Ldap.php b/framework/Ldap/lib/Horde/Ldap.php index 38510f97e..25f45de82 100644 --- a/framework/Ldap/lib/Horde/Ldap.php +++ b/framework/Ldap/lib/Horde/Ldap.php @@ -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 +} diff --git a/framework/Ldap/lib/Horde/Ldap/SimpleFileSchemaCache.php b/framework/Ldap/lib/Horde/Ldap/SimpleFileSchemaCache.php index 8019654ac..cb596fdd6 100644 --- a/framework/Ldap/lib/Horde/Ldap/SimpleFileSchemaCache.php +++ b/framework/Ldap/lib/Horde/Ldap/SimpleFileSchemaCache.php @@ -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!"); + } + } } /** -- 2.11.0