diff options
author | thomascube <thomas@roundcube.net> | 2010-02-21 16:44:39 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2010-02-21 16:44:39 +0000 |
commit | 47d8d39cf49310b688967f7571b0d66b5971b39c (patch) | |
tree | cad6a377f8e37bddaf8c87c4fd8b713d54d32043 /program/steps/settings | |
parent | cd8e5636d201e22139dcfa090fa949f577129ec8 (diff) |
Use rcmail::imap_connect() to establish IMAP connections; always initialize rcube_imap object in mail steps
Diffstat (limited to 'program/steps/settings')
-rw-r--r-- | program/steps/settings/func.inc | 2 | ||||
-rw-r--r-- | program/steps/settings/manage_folders.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index a2175b0f0..094fa5995 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -509,7 +509,7 @@ function rcmail_user_prefs($current=null) // Configure special folders if (!isset($no_override['default_imap_folders'])) { - $RCMAIL->imap_init(true); + $RCMAIL->imap_connect(); $select = rcmail_mailbox_select(array('noselection' => '---', 'realnames' => true, 'maxlength' => 30, 'exceptions' => array('INBOX'))); diff --git a/program/steps/settings/manage_folders.inc b/program/steps/settings/manage_folders.inc index 22bd158f5..06fee7a87 100644 --- a/program/steps/settings/manage_folders.inc +++ b/program/steps/settings/manage_folders.inc @@ -22,7 +22,7 @@ // WARNING: folder names in UI are encoded with RCMAIL_CHARSET // init IMAP connection -$RCMAIL->imap_init(true); +$RCMAIL->imap_connect(); // subscribe to one or more mailboxes if ($RCMAIL->action=='subscribe') |