fixed typo in imapsync.php: was "RainLoop\API" instead of "RainLoop\Api"

This commit is contained in:
Jürgen Schlegelmilch 2025-11-19 23:10:15 +01:00
parent ba496919dd
commit 1dc26f11d2

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));