diff --git a/snappymail/v/0.0.0/app/libraries/MailSo/Mail/MailClient.php b/snappymail/v/0.0.0/app/libraries/MailSo/Mail/MailClient.php index be0dd63cb..4aec3b6ae 100644 --- a/snappymail/v/0.0.0/app/libraries/MailSo/Mail/MailClient.php +++ b/snappymail/v/0.0.0/app/libraries/MailSo/Mail/MailClient.php @@ -588,22 +588,6 @@ class MailClient return $this->GenerateFolderHash($sFolderName, $iCount, $iUidNext, $iHighestModSeq); } - /** - * @throws \MailSo\Net\Exceptions\Exception - * @throws \MailSo\Imap\Exceptions\Exception - */ - public function InboxUnreadCount() : int - { - $aFolderStatus = $this->oImapClient->FolderStatus('INBOX', array( - FolderResponseStatus::UNSEEN - )); - - $iResult = isset($aFolderStatus[FolderResponseStatus::UNSEEN]) ? - (int) $aFolderStatus[FolderResponseStatus::UNSEEN] : 0; - - return 0 < $iResult ? $iResult : 0; - } - /** * @throws \MailSo\Base\Exceptions\InvalidArgumentException * @throws \MailSo\Net\Exceptions\Exception