summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-11-14 17:42:38 +0000
committeralecpl <alec@alec.pl>2011-11-14 17:42:38 +0000
commit485c69d8123b076dc6543a7b8e7623476199b6a4 (patch)
treea0fce365d3a6e3d97c78c2005fc6bdd82cb2c6a7
parent854fbf6d2384eeeb8c559d027686c8534f9d070d (diff)
- Don't consider \Noselect flag when building folders tree (#1488004)
-rw-r--r--CHANGELOG1
-rw-r--r--program/include/main.inc5
2 files changed, 1 insertions, 5 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 7e3a4f90c..464179501 100644
--- a/CHANGELOG
+++ b/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/program/include/main.inc b/program/include/main.inc
index 83b3087b9..c84e5ad6b 100644
--- a/program/include/main.inc
+++ b/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'),