diff options
author | alecpl <alec@alec.pl> | 2011-01-04 11:16:54 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-01-04 11:16:54 +0000 |
commit | 600bb156f79908e0ca72a039c6ad290146a2eb4e (patch) | |
tree | 903b2d054b14b7789241638ba2132fb66eac82b9 /program/steps/settings/edit_folder.inc | |
parent | eabd44876c67239b1f27afc4acadf1d7e2001219 (diff) |
- Use improved get_capability() syntax, saves CAPABILITY call in some cases
Diffstat (limited to 'program/steps/settings/edit_folder.inc')
-rw-r--r-- | program/steps/settings/edit_folder.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/program/steps/settings/edit_folder.inc b/program/steps/settings/edit_folder.inc index ca07b04bc..2842b356d 100644 --- a/program/steps/settings/edit_folder.inc +++ b/program/steps/settings/edit_folder.inc @@ -39,9 +39,7 @@ function rcube_folder_form($attrib) $delimiter = $RCMAIL->imap->get_hierarchy_delimiter(); $special = (strlen($mbox_imap) && in_array($mbox_imap, (array) $RCMAIL->config->get('default_imap_folders'))); $protected = ($special && $RCMAIL->config->get('protect_default_folders')); - $threading_supported = $RCMAIL->imap->get_capability('thread=references') - || $RCMAIL->imap->get_capability('thread=orderedsubject') - || $RCMAIL->imap->get_capability('thread=refs'); + $threading_supported = $RCMAIL->imap->get_capability('THREAD'); // Get mailbox stats (messages count, etc.), mailbox name and parent if (strlen($mbox)) { |