mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 07:57:02 +03:00
Add _FORCE_SELECT_ON_EXAMINE__ property to IMAP client class
This commit is contained in:
parent
efb9db36d2
commit
4a153a59c1
4 changed files with 21 additions and 3 deletions
|
|
@ -73,6 +73,11 @@ class ImapClient extends \MailSo\Net\NetClient
|
|||
*/
|
||||
private $sLogginedUser;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $__FORCE_SELECT_ON_EXAMINE__;
|
||||
|
||||
/**
|
||||
* @access protected
|
||||
*/
|
||||
|
|
@ -96,6 +101,8 @@ class ImapClient extends \MailSo\Net\NetClient
|
|||
$this->bIsSelected = false;
|
||||
$this->sLogginedUser = '';
|
||||
|
||||
$this->__FORCE_SELECT_ON_EXAMINE__ = false;
|
||||
|
||||
@\ini_set('xdebug.max_nesting_level', 500);
|
||||
}
|
||||
|
||||
|
|
@ -854,7 +861,7 @@ class ImapClient extends \MailSo\Net\NetClient
|
|||
*/
|
||||
public function FolderExamine($sFolderName, $bReSelectSameFolders = false)
|
||||
{
|
||||
return $this->selectOrExamineFolder($sFolderName, false, $bReSelectSameFolders);
|
||||
return $this->selectOrExamineFolder($sFolderName, $this->__FORCE_SELECT_ON_EXAMINE__, $bReSelectSameFolders);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue