summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-09-20 10:25:14 +0000
committeralecpl <alec@alec.pl>2009-09-20 10:25:14 +0000
commitbdab2c5faf8a2b311debce0b724a0b2df02aa60c (patch)
treefea15f93973ea99032475b37969fbcc53e3338e1 /program/include
parent67bb96fef159fd360a401f815e32c088f83401b0 (diff)
- small code improvements
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcmail.php2
-rw-r--r--program/include/rcube_imap.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index b148e5168..be9074054 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -378,7 +378,7 @@ class rcmail
// Setting root and delimiter before iil_Connect can save time detecting them
// using NAMESPACE and LIST
$options = array(
- 'imap' => $this->config->get('imap_auth_type', 'check'),
+ 'auth_method' => $this->config->get('imap_auth_type', 'check'),
'delimiter' => isset($_SESSION['imap_delimiter']) ? $_SESSION['imap_delimiter'] : $this->config->get('imap_delimiter'),
'rootdir' => isset($_SESSION['imap_root']) ? $_SESSION['imap_root'] : $this->config->get('imap_root'),
'debug_mode' => (bool) $this->config->get('imap_debug', 0),
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index 2d4792c8d..e0947968c 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -69,7 +69,7 @@ class rcube_imap
var $search_sort_field = '';
var $debug_level = 1;
var $error_code = 0;
- var $options = array('imap' => 'check');
+ var $options = array('auth_method' => 'check');
private $host, $user, $pass, $port, $ssl;