mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 07:27:04 +03:00
Autocreate system folders in folder list request.
Additional plugin hooks
This commit is contained in:
parent
972067b6d9
commit
394e22520e
19 changed files with 357 additions and 288 deletions
|
|
@ -1653,12 +1653,11 @@ class MailClient
|
|||
/**
|
||||
* @param string $sParent = ''
|
||||
* @param string $sListPattern = '*'
|
||||
* @param bool $bUseListStatus = false
|
||||
* @param bool $bUseListSubscribeStatus = false
|
||||
*
|
||||
* @return \MailSo\Mail\FolderCollection|false
|
||||
*/
|
||||
public function Folders($sParent = '', $sListPattern = '*', $bUseListStatus = false, $bUseListSubscribeStatus = true)
|
||||
public function Folders($sParent = '', $sListPattern = '*', $bUseListSubscribeStatus = true)
|
||||
{
|
||||
$oFolderCollection = false;
|
||||
|
||||
|
|
@ -1671,19 +1670,9 @@ class MailClient
|
|||
{
|
||||
$aSubscribedFolders = $this->oImapClient->FolderSubscribeList($sParent, $sListPattern);
|
||||
}
|
||||
catch (\Exception $oException)
|
||||
{
|
||||
|
||||
}
|
||||
catch (\Exception $oException) {}
|
||||
}
|
||||
|
||||
// TODO
|
||||
// $mStatusFolders = null;
|
||||
// if ($bUseListStatus)
|
||||
// {
|
||||
// $mStatusFolders = $this->oImapClient->FolderStatusList($sParent, $sListPattern);
|
||||
// }
|
||||
|
||||
$aImapSubscribedFoldersHelper = null;
|
||||
if (\is_array($aSubscribedFolders))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue