mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-25 15:26:14 +08:00
Bugfix: Return value of RainLoop\Actions::SetIdentities() must be of the type array, bool returned
Cleanup: remove empty __construct()
This commit is contained in:
parent
75b4b64118
commit
3d9b3334ee
4 changed files with 1 additions and 16 deletions
|
@ -17,11 +17,6 @@ namespace MailSo\Mail;
|
|||
*/
|
||||
class AttachmentCollection extends \MailSo\Base\Collection
|
||||
{
|
||||
protected function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public static function NewInstance() : self
|
||||
{
|
||||
return new self();
|
||||
|
|
|
@ -17,11 +17,6 @@ namespace MailSo\Mime;
|
|||
*/
|
||||
class AttachmentCollection extends \MailSo\Base\Collection
|
||||
{
|
||||
protected function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public static function NewInstance() : self
|
||||
{
|
||||
return new self();
|
||||
|
|
|
@ -17,11 +17,6 @@ namespace MailSo\Mime;
|
|||
*/
|
||||
class PartCollection extends \MailSo\Base\Collection
|
||||
{
|
||||
protected function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public static function NewInstance() : self
|
||||
{
|
||||
return new self();
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue