Merge pull request #2012 from juschleg/patch-2

fixed typo in imapsync.php: was "RainLoop\API" instead of "RainLoop\Api"
This commit is contained in:
Maarten 2026-10-22 13:12:04 +02:00 • committed by GitHub
commit 02e96a9339
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -183,7 +183,7 @@ function getImapClient(int $host)
$oImapClient = new \MailSo\Imap\ImapClient; $oImapClient = new \MailSo\Imap\ImapClient;
// $oAccount = new \RainLoop\Model\Account; // $oAccount = new \RainLoop\Model\Account;
$oImapClient->SetLogger(\RainLoop\API::Logger()); $oImapClient->SetLogger(\RainLoop\Api::Logger());
// $oPlugins->RunHook('imap.before-connect', array($oAccount, $oImapClient, $ImapSettings)); // $oPlugins->RunHook('imap.before-connect', array($oAccount, $oImapClient, $ImapSettings));
$oImapClient->Connect($ImapSettings); $oImapClient->Connect($ImapSettings);
// $oPlugins->RunHook('imap.after-connect', array($oAccount, $oImapClient, $ImapSettings)); // $oPlugins->RunHook('imap.after-connect', array($oAccount, $oImapClient, $ImapSettings));