This commit is contained in:
djmaze 2021-11-17 23:13:19 +01:00
parent 346829be38
commit ac5daa5c22
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ trait Accounts
return array();
}
protected function SetAccounts(MainAccount $oAccount, array $aAccounts = array()): void
public function SetAccounts(MainAccount $oAccount, array $aAccounts = array()): void
{
$sParentEmail = $oAccount->Email();
if ($aAccounts) {

View file

@ -239,7 +239,7 @@ trait Contacts
return $this->DefaultResponse(__FUNCTION__, $mResponse);
}
protected function setContactsSyncData(\RainLoop\Model\Account $oAccount, array $aData) : bool
public function setContactsSyncData(\RainLoop\Model\Account $oAccount, array $aData) : bool
{
if ($aData['Password']) {
$aData['Password'] = \SnappyMail\Crypt::EncryptToJSON($aData['Password'], $oAccount->CryptKey());