summaryrefslogtreecommitdiff
path: root/program/include
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 /program/include
parent854fbf6d2384eeeb8c559d027686c8534f9d070d (diff)
- Don't consider \Noselect flag when building folders tree (#1488004)
Diffstat (limited to 'program/include')
-rw-r--r--program/include/main.inc5
1 files changed, 0 insertions, 5 deletions
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'),