summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-11-14 17:42:38 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-11-14 17:42:38 +0000
commitaa72f212437257edf9c0a4f6464bffdb38ea5df7 (patch)
tree48f3a4ba98bb566ecfbf83c199418042f20e44b7
parent98c01bf8a9a136b9bf83f8f407ec4cf9cd5cc501 (diff)
- Don't consider \Noselect flag when building folders tree (#1488004)
git-svn-id: https://svn.roundcube.net/trunk@5423 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/CHANGELOG1
-rw-r--r--roundcubemail/program/include/main.inc5
2 files changed, 1 insertions, 5 deletions
diff --git a/roundcubemail/CHANGELOG b/roundcubemail/CHANGELOG
index 7e3a4f90c..464179501 100644
--- a/roundcubemail/CHANGELOG
+++ b/roundcubemail/CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
+- Don't consider \Noselect flag when building folders tree (#1488004)
- Fix sorting autocomplete results (#1488084)
- Add option to set session name (#1486433)
- Add option to skip alternative email addresses in autocompletion
diff --git a/roundcubemail/program/include/main.inc b/roundcubemail/program/include/main.inc
index 83b3087b9..c84e5ad6b 100644
--- a/roundcubemail/program/include/main.inc
+++ b/roundcubemail/program/include/main.inc
@@ -1281,11 +1281,6 @@ function rcmail_build_folder_tree(&$arrFolders, $folder, $delm='/', $path='')
$path .= $prefix.$currentFolder;
if (!isset($arrFolders[$currentFolder])) {
- // Check \Noselect attribute (if attributes are in cache)
- if (!$virtual && ($attrs = $RCMAIL->imap->mailbox_attributes($path))) {
- $virtual = in_array('\\Noselect', $attrs);
- }
-
$arrFolders[$currentFolder] = array(
'id' => $path,
'name' => rcube_charset_convert($currentFolder, 'UTF7-IMAP'),