use_imap_unselect was removed/is undefined

This commit is contained in:
the-djmaze 2022-06-07 11:01:52 +02:00
parent 1bae3370fa
commit 757d71cd40

View file

@ -484,18 +484,6 @@ trait Messages
throw new ClientException(Notifications::CantDeleteMessage, $oException);
}
if ($this->Config()->Get('labs', 'use_imap_unselect', true))
{
try
{
$this->MailClient()->FolderUnselect();
}
catch (\Throwable $oException)
{
unset($oException);
}
}
$sHash = '';
try
{
@ -564,18 +552,6 @@ trait Messages
throw new ClientException(Notifications::CantMoveMessage, $oException);
}
if ($this->Config()->Get('labs', 'use_imap_unselect', true))
{
try
{
$this->MailClient()->FolderUnselect();
}
catch (\Throwable $oException)
{
unset($oException);
}
}
$sHash = '';
try
{