Rename __FORCE_SELECT_ON_EXAMINE__ to __FORCE_SELECT_ON_EXAMINE

This commit is contained in:
the-djmaze 2022-12-12 13:07:43 +01:00
parent d0db7f5ce3
commit 780aa8759d
3 changed files with 3 additions and 3 deletions

View file

@ -312,7 +312,7 @@ trait Folders
*/
public function FolderExamine(string $sFolderName, bool $bReSelectSameFolders = false) : FolderInformation
{
return $this->selectOrExamineFolder($sFolderName, $this->__FORCE_SELECT_ON_EXAMINE__, $bReSelectSameFolders);
return $this->selectOrExamineFolder($sFolderName, $this->__FORCE_SELECT_ON_EXAMINE, $bReSelectSameFolders);
}
/**

View file

@ -68,7 +68,7 @@ class ImapClient extends \MailSo\Net\NetClient
/**
* @var bool
*/
public $__FORCE_SELECT_ON_EXAMINE__ = false;
public $__FORCE_SELECT_ON_EXAMINE = false;
public $__DISABLE_METADATA = false;
/**

View file

@ -214,7 +214,7 @@ abstract class Account implements \JsonSerializable
public function ImapConnectAndLoginHelper(\RainLoop\Plugins\Manager $oPlugins, \MailSo\Imap\ImapClient $oImapClient, \RainLoop\Config\Application $oConfig) : bool
{
$oImapClient->__FORCE_SELECT_ON_EXAMINE__ = !!$oConfig->Get('imap', 'use_force_selection');
$oImapClient->__FORCE_SELECT_ON_EXAMINE = !!$oConfig->Get('imap', 'use_force_selection');
$oImapClient->__DISABLE_METADATA = !!$oConfig->Get('imap', 'disable_metadata');
$oSettings = $this->Domain()->ImapSettings();