diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-04-01 19:27:07 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-04-01 19:27:07 +0200 |
commit | dc0b500e78aae13349b848303302a213ed3a1e65 (patch) | |
tree | 29ab0e108edad0456cbbdc3fddfd08fbf8ab7e72 /installer | |
parent | 0ee63280982734599f83fdc84ccc309fbf3db2c2 (diff) |
Removed redundant default_folders config option (#1489737)
Implemented IMAP SPECIAL-USE extension support [RFC6154] (#1487830)
Diffstat (limited to 'installer')
-rw-r--r-- | installer/rcube_install.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/installer/rcube_install.php b/installer/rcube_install.php index 2fae3c5ca..b047156b5 100644 --- a/installer/rcube_install.php +++ b/installer/rcube_install.php @@ -42,7 +42,6 @@ class rcube_install 'addrbook_show_images' => 'show_images', 'imap_root' => 'imap_ns_personal', 'pagesize' => 'mail_pagesize', - 'default_imap_folders' => 'default_folders', 'top_posting' => 'reply_mode', 'keep_alive' => 'refresh_interval', 'min_keep_alive' => 'min_refresh_interval', @@ -228,19 +227,6 @@ class rcube_install else if ($prop == 'smtp_pass' && !empty($_POST['_smtp_user_u'])) { $value = '%p'; } - else if ($prop == 'default_folders') { - $value = array(); - foreach ($this->config['default_folders'] as $_folder) { - switch ($_folder) { - case 'Drafts': $_folder = $this->config['drafts_mbox']; break; - case 'Sent': $_folder = $this->config['sent_mbox']; break; - case 'Junk': $_folder = $this->config['junk_mbox']; break; - case 'Trash': $_folder = $this->config['trash_mbox']; break; - } - if (!in_array($_folder, $value)) - $value[] = $_folder; - } - } else if (is_bool($default)) { $value = (bool)$value; } |