mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 13:09:21 +03:00
ImapConnectAndLoginHelper() to ImapConnectAndLogin()
This commit is contained in:
parent
b3a969fb8a
commit
7feb9a9f41
5 changed files with 12 additions and 12 deletions
|
|
@ -16,7 +16,7 @@ class ImapContactsSuggestions implements \RainLoop\Providers\Suggestions\ISugges
|
|||
$oMailClient = $oActions->MailClient();
|
||||
if (!$oMailClient->IsLoggined()) {
|
||||
$oAccount = $oActions->getAccountFromToken();
|
||||
$oAccount->ImapConnectAndLoginHelper($oActions->Plugins(), $oMailClient->ImapClient(), $oActions->Config());
|
||||
$oAccount->ImapConnectAndLogin($oActions->Plugins(), $oMailClient->ImapClient(), $oActions->Config());
|
||||
}
|
||||
$oImapClient = $oMailClient->ImapClient();
|
||||
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@ class ImapContactsSuggestionsPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
{
|
||||
const
|
||||
NAME = 'Contacts suggestions (IMAP folder)',
|
||||
VERSION = '1.1',
|
||||
RELEASE = '2022-12-16',
|
||||
VERSION = '1.2',
|
||||
RELEASE = '2023-01-17',
|
||||
CATEGORY = 'Contacts',
|
||||
DESCRIPTION = 'Get contacts suggestions from IMAP INBOX folder.',
|
||||
REQUIRED = '2.23.0';
|
||||
REQUIRED = '2.24.6';
|
||||
|
||||
public function Init() : void
|
||||
{
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ class KolabAddressBook implements \RainLoop\Providers\AddressBook\AddressBookInt
|
|||
$oActions = \RainLoop\Api::Actions();
|
||||
$oMailClient = $oActions->MailClient();
|
||||
if (!$oMailClient->IsLoggined()) {
|
||||
$oActions->getAccountFromToken()->ImapConnectAndLoginHelper($oActions->Plugins(), $oMailClient->ImapClient(), $oActions->Config());
|
||||
$oActions->getAccountFromToken()->ImapConnectAndLogin($oActions->Plugins(), $oMailClient->ImapClient(), $oActions->Config());
|
||||
}
|
||||
return $oMailClient;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@ class KolabPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
{
|
||||
const
|
||||
NAME = 'Kolab',
|
||||
VERSION = '2.4',
|
||||
RELEASE = '2023-01-03',
|
||||
VERSION = '2.5',
|
||||
RELEASE = '2023-01-17',
|
||||
CATEGORY = 'Contacts',
|
||||
DESCRIPTION = 'Use an Address Book of Kolab.',
|
||||
REQUIRED = '2.24.5';
|
||||
REQUIRED = '2.24.6';
|
||||
|
||||
public function Init() : void
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
{
|
||||
const
|
||||
NAME = 'Nextcloud',
|
||||
VERSION = '2.14',
|
||||
RELEASE = '2023-01-04',
|
||||
VERSION = '2.15',
|
||||
RELEASE = '2023-01-17',
|
||||
CATEGORY = 'Integrations',
|
||||
DESCRIPTION = 'Integrate with Nextcloud v20+',
|
||||
REQUIRED = '2.23.0';
|
||||
REQUIRED = '2.24.6';
|
||||
|
||||
public function Init() : void
|
||||
{
|
||||
|
|
@ -94,7 +94,7 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
$oMailClient = $oActions->MailClient();
|
||||
if (!$oMailClient->IsLoggined()) {
|
||||
$oAccount = $oActions->getAccountFromToken();
|
||||
$oAccount->ImapConnectAndLoginHelper($oActions->Plugins(), $oMailClient->ImapClient(), $oActions->Config());
|
||||
$oAccount->ImapConnectAndLogin($oActions->Plugins(), $oMailClient->ImapClient(), $oActions->Config());
|
||||
}
|
||||
|
||||
$sSaveFolder = $sSaveFolder ?: 'Emails';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue