Some more speed improvements for get_rows:

- Don't verify that special folders exist
This commit is contained in:
Nathan Gray 2014-08-11 19:26:50 +00:00
parent 82db8343bd
commit 91eabea294

View File

@ -1480,7 +1480,7 @@ class mail_ui
$toSchema = false;//decides to select list schema with column to selected (if false fromaddress is default)
if ($this->mail_bo->folderExists($_folderName))
{
$toSchema = $this->mail_bo->isDraftFolder($_folderName)||$this->mail_bo->isSentFolder($_folderName)||$this->mail_bo->isTemplateFolder($_folderName);
$toSchema = $this->mail_bo->isDraftFolder($_folderName,false)||$this->mail_bo->isSentFolder($_folderName,false)||$this->mail_bo->isTemplateFolder($_folderName,false);
}
else
{