Add _FORCE_SELECT_ON_EXAMINE__ property to IMAP client class

This commit is contained in:
RainLoop Team 2013-12-09 14:19:15 +04:00
parent efb9db36d2
commit 4a153a59c1
4 changed files with 21 additions and 3 deletions

View file

@ -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);
}
/**