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/save_folder.inc | |
parent | 7e263ea2048721482c00db65d4511f00c4c7b1d4 (diff) |
- Remove deprecated global $IMAP variable usage (#1488148)
Diffstat (limited to 'program/steps/settings/save_folder.inc')
-rw-r--r-- | program/steps/settings/save_folder.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/settings/save_folder.inc b/program/steps/settings/save_folder.inc index 48c957239..0fc090e12 100644 --- a/program/steps/settings/save_folder.inc +++ b/program/steps/settings/save_folder.inc @@ -33,7 +33,7 @@ $name_imap = rcube_charset_convert($name, RCMAIL_CHARSET, 'UTF7-IMAP'); $old_imap = rcube_charset_convert($old, RCMAIL_CHARSET, 'UTF7-IMAP'); // $path is in UTF7-IMAP already -$delimiter = $IMAP->get_hierarchy_delimiter(); +$delimiter = $RCMAIL->imap->get_hierarchy_delimiter(); $options = strlen($old_imap) ? rcmail_folder_options($old_imap) : array(); // Folder name checks @@ -103,7 +103,7 @@ if (!$error && !strlen($old)) { $folder = $plugin['record']; if (!$plugin['abort']) { - $created = $IMAP->create_mailbox($folder['name'], $folder['subscribe']); + $created = $RCMAIL->imap->create_mailbox($folder['name'], $folder['subscribe']); } else { $created = $plugin['result']; |