Bugfix: Return value of RainLoop\Actions::SetIdentities() must be of the type array, bool returned

Cleanup: remove empty __construct()
This commit is contained in:
djmaze 2020-04-15 20:42:16 +02:00
parent 75b4b64118
commit 3d9b3334ee
4 changed files with 1 additions and 16 deletions

View file

@ -2266,7 +2266,7 @@ NewThemeLink IncludeCss LoadingDescriptionEsc TemplatesLink LangLink IncludeBack
}
}
public function SetIdentities(\RainLoop\Model\Account $oAccount, array $aIdentities = array()) : array
public function SetIdentities(\RainLoop\Model\Account $oAccount, array $aIdentities = array()) : bool
{
$bAllowIdentities = $this->GetCapa(false, false, \RainLoop\Enumerations\Capa::IDENTITIES, $oAccount);