diff options
author | alecpl <alec@alec.pl> | 2011-12-07 10:41:15 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-12-07 10:41:15 +0000 |
commit | b6da0b76afb5697685c35b8584631294cfc7b12f (patch) | |
tree | da81d13466eccdfe287075e5a77ee37ab485a1bc /program/steps/settings/func.inc | |
parent | 7e263ea2048721482c00db65d4511f00c4c7b1d4 (diff) |
- Remove deprecated global $IMAP variable usage (#1488148)
Diffstat (limited to 'program/steps/settings/func.inc')
-rw-r--r-- | program/steps/settings/func.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index b778afa13..65836a958 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -875,13 +875,13 @@ function rcmail_folder_options($mailbox) */ function rcmail_update_folder_row($name, $oldname=null, $subscribe=false, $class_name=null) { - global $IMAP, $CONFIG, $OUTPUT; + global $RCMAIL, $CONFIG, $OUTPUT; - $delimiter = $IMAP->get_hierarchy_delimiter(); + $delimiter = $RCMAIL->imap->get_hierarchy_delimiter(); $name_utf8 = rcube_charset_convert($name, 'UTF7-IMAP'); $protected = ($CONFIG['protect_default_folders'] == true && in_array($name, $CONFIG['default_imap_folders'])); - $foldersplit = explode($delimiter, $IMAP->mod_mailbox($name)); + $foldersplit = explode($delimiter, $RCMAIL->imap->mod_mailbox($name)); $level = count($foldersplit) - 1; $display_name = str_repeat(' ', $level) . Q($protected ? rcmail_localize_foldername($name) : rcube_charset_convert($foldersplit[$level], 'UTF7-IMAP')); |