Folder list optimization

This commit is contained in:
RainLoop Team 2014-04-27 01:53:37 +04:00
parent 61a7a9c078
commit 547324f8d1
15 changed files with 113 additions and 99 deletions

View file

@ -3588,9 +3588,16 @@ class Actions
$mFolderNameToCreate = \array_search($iType, $aMap);
if (!empty($mFolderNameToCreate))
{
if ($this->MailClient()->FolderCreate($mFolderNameToCreate, $sNamespace))
try
{
$bDoItAgain = true;
if ($this->MailClient()->FolderCreate($mFolderNameToCreate, $sNamespace))
{
$bDoItAgain = true;
}
}
catch (\Exception $oException)
{
$this->Logger()->WriteException($oException);
}
}
}