Mail tree phase2 W.I.P.: missing commit from 53261

This commit is contained in:
Hadi Nategh 2015-07-29 14:31:59 +00:00
parent af491c92b3
commit 033ab7f65d

View File

@ -161,7 +161,7 @@ class mail_tree
try
{
$nodeInfo = self::pathToFolderData($_parent, $hDelimiter);
$folders = $this->ui->mail_bo->getFolderArray($nodeInfo['mailbox'],false,2);
$folders = $this->ui->mail_bo->getFolderArrays($nodeInfo['mailbox'],false,2);
} catch (Exception $ex) {
return self::treeLeafNoConnectionArray($_profileID, $ex->getMessage(),array($_profileID), '');
}
@ -215,8 +215,7 @@ class mail_tree
self::setOutStructure($baseNode, $tree,self::$delimiter);
}
//List of folders
$foldersList = $this->ui->mail_bo->getFolderArray(null, true);
$foldersList = $this->ui->mail_bo->getFolderArrays(null, true);
// Parent node arrays
$parentNode = $parentNodes = array();