From 780aa8759db74b8d3a484674b420c5f362872237 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Mon, 12 Dec 2022 13:07:43 +0100 Subject: [PATCH] Rename `__FORCE_SELECT_ON_EXAMINE__` to `__FORCE_SELECT_ON_EXAMINE` --- .../v/0.0.0/app/libraries/MailSo/Imap/Commands/Folders.php | 2 +- snappymail/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php | 2 +- snappymail/v/0.0.0/app/libraries/RainLoop/Model/Account.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/snappymail/v/0.0.0/app/libraries/MailSo/Imap/Commands/Folders.php b/snappymail/v/0.0.0/app/libraries/MailSo/Imap/Commands/Folders.php index 84fbaff6e..b25537d7f 100644 --- a/snappymail/v/0.0.0/app/libraries/MailSo/Imap/Commands/Folders.php +++ b/snappymail/v/0.0.0/app/libraries/MailSo/Imap/Commands/Folders.php @@ -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); } /** diff --git a/snappymail/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php b/snappymail/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php index 4dbde1ae5..295828b31 100644 --- a/snappymail/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php +++ b/snappymail/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php @@ -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; /** diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Model/Account.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Model/Account.php index 954afe70c..d621ed99d 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Model/Account.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Model/Account.php @@ -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();