From 485c69d8123b076dc6543a7b8e7623476199b6a4 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 14 Nov 2011 17:42:38 +0000 Subject: [PATCH] - Don't consider \Noselect flag when building folders tree (#1488004) --- CHANGELOG | 1 + program/include/main.inc | 5 ----- 2 files changed, 1 insertion(+), 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'),