mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-27 09:36:09 +08:00
Resolve #987
This commit is contained in:
parent
77126d989a
commit
f662841281
1 changed files with 11 additions and 9 deletions
|
@ -4,8 +4,8 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
{
|
{
|
||||||
const
|
const
|
||||||
NAME = 'Nextcloud',
|
NAME = 'Nextcloud',
|
||||||
VERSION = '2.18',
|
VERSION = '2.19',
|
||||||
RELEASE = '2023-02-20',
|
RELEASE = '2023-02-22',
|
||||||
CATEGORY = 'Integrations',
|
CATEGORY = 'Integrations',
|
||||||
DESCRIPTION = 'Integrate with Nextcloud v20+',
|
DESCRIPTION = 'Integrate with Nextcloud v20+',
|
||||||
REQUIRED = '2.25.1';
|
REQUIRED = '2.25.1';
|
||||||
|
@ -202,13 +202,15 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
}
|
}
|
||||||
if ($bSave) {
|
if ($bSave) {
|
||||||
$oActions = \RainLoop\Api::Actions();
|
$oActions = \RainLoop\Api::Actions();
|
||||||
$oAccount = $oActions->getAccountFromToken();
|
$oActions->setContactsSyncData(
|
||||||
$this->setContactsSyncData($oAccount, array(
|
$oActions->getAccountFromToken(),
|
||||||
'Mode' => $aResult['ContactsSync']['Mode'],
|
array(
|
||||||
'User' => $aResult['ContactsSync']['User'],
|
'Mode' => $aResult['ContactsSync']['Mode'],
|
||||||
'Password' => $aResult['ContactsSync']['Password'],
|
'User' => $aResult['ContactsSync']['User'],
|
||||||
'Url' => $aResult['ContactsSync']['Url']
|
'Password' => $aResult['ContactsSync']['Password'],
|
||||||
));
|
'Url' => $aResult['ContactsSync']['Url']
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue