From 1cf308411f672635d222f831d01b42794fcf5f75 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 7 Aug 2015 07:47:28 +0000 Subject: [PATCH] Mail tree phase 2 W.I.P: Do not open initially other folders but INBOX --- mail/inc/class.mail_tree.inc.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mail/inc/class.mail_tree.inc.php b/mail/inc/class.mail_tree.inc.php index b7fdc7ab69..c64d546a84 100644 --- a/mail/inc/class.mail_tree.inc.php +++ b/mail/inc/class.mail_tree.inc.php @@ -265,6 +265,11 @@ class mail_tree { $data['data'] = array('acl' => $this->ui->mail_bo->icServer->queryCapability('ACL')); } + else + { + //Do not open Initially other folders but INBOX + $data[tree::OPEN] = 0; + } self::setOutStructure($data, $tree, $folder['delimiter'], true, $this->ui->mail_bo->_getNameSpaces(), $definedFolders); } // Structs children of account root node. Used for mail index tree when we do autoloading on account id