Mail tree phase 2 W.I.P: Do not open initially other folders but INBOX

This commit is contained in:
Hadi Nategh 2015-08-07 07:47:28 +00:00
parent 47813048ab
commit 1cf308411f

View File

@ -265,6 +265,11 @@ class mail_tree
{ {
$data['data'] = array('acl' => $this->ui->mail_bo->icServer->queryCapability('ACL')); $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); 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 // Structs children of account root node. Used for mail index tree when we do autoloading on account id