Resolve #927 Call to undefined method MailboxDetectPlugin::Logger()

This commit is contained in:
the-djmaze 2023-02-08 10:43:11 +01:00
parent 4ef78c24e1
commit e12eeeafc6

View file

@ -9,8 +9,8 @@ class MailboxDetectPlugin extends \RainLoop\Plugins\AbstractPlugin
NAME = 'MailboxDetect', NAME = 'MailboxDetect',
AUTHOR = 'SnappyMail', AUTHOR = 'SnappyMail',
URL = 'https://snappymail.eu/', URL = 'https://snappymail.eu/',
VERSION = '2.3', VERSION = '2.4',
RELEASE = '2023-02-07', RELEASE = '2023-02-08',
REQUIRED = '2.25.0', REQUIRED = '2.25.0',
CATEGORY = 'General', CATEGORY = 'General',
LICENSE = 'MIT', LICENSE = 'MIT',
@ -30,6 +30,11 @@ class MailboxDetectPlugin extends \RainLoop\Plugins\AbstractPlugin
); );
} }
protected function Logger() : \MailSo\Log\Logger
{
return $this->Manager()->Actions()->Logger();
}
public function AfterFolders(array &$aResponse) public function AfterFolders(array &$aResponse)
{ {
if (!empty($aResponse['Result']['@Collection'])) { if (!empty($aResponse['Result']['@Collection'])) {