From adef611b56b82ad70a61314c28cfbde0b328762a Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 28 Jan 2010 22:33:06 -0700 Subject: [PATCH] Fix imap config options (these are not cache options) --- imp/lib/Imap.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/imp/lib/Imap.php b/imp/lib/Imap.php index 292144444..a36b945c7 100644 --- a/imp/lib/Imap.php +++ b/imp/lib/Imap.php @@ -176,8 +176,11 @@ class IMP_Imap : 'imap'; $imap_config = array( + 'comparator' => empty($server['comparator']) ? false : $server['comparator'], 'debug' => isset($server['debug']) ? $server['debug'] : null, 'hostspec' => isset($server['hostspec']) ? $server['hostspec'] : null, + 'id' => empty($server['id']) ? false : $server['id'], + 'lang' => empty($server['lang']) ? false : $server['lang'], 'password' => $password, 'port' => isset($server['port']) ? $server['port'] : null, 'secure' => isset($server['secure']) ? $server['secure'] : false, @@ -192,12 +195,9 @@ class IMP_Imap $driver = $GLOBALS['conf']['cache']['driver']; if ($driver != 'none') { $imap_config['cache'] = array( - 'comparator' => empty($c['comparator']) ? false : $c['comparator'], 'compress' => empty($c['compress']) ? false : $c['compress'], 'driver' => $driver, 'driver_params' => Horde::getDriverConfig('cache', $driver), - 'id' => empty($c['id']) ? false : $c['id'], - 'lang' => empty($c['lang']) ? false : $c['lang'], 'lifetime' => empty($c['lifetime']) ? false : $c['lifetime'], 'slicesize' => empty($c['slicesize']) ? false : $c['slicesize'], ); -- 2.11.0