mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 23:47:03 +03: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
|
class AttachmentCollection extends \MailSo\Base\Collection
|
||||||
{
|
{
|
||||||
protected function __construct()
|
|
||||||
{
|
|
||||||
parent::__construct();
|
|
||||||
}
|
|
||||||
|
|
||||||
public static function NewInstance() : self
|
public static function NewInstance() : self
|
||||||
{
|
{
|
||||||
return new self();
|
return new self();
|
||||||
|
|
|
||||||
|
|
@ -17,11 +17,6 @@ namespace MailSo\Mime;
|
||||||
*/
|
*/
|
||||||
class AttachmentCollection extends \MailSo\Base\Collection
|
class AttachmentCollection extends \MailSo\Base\Collection
|
||||||
{
|
{
|
||||||
protected function __construct()
|
|
||||||
{
|
|
||||||
parent::__construct();
|
|
||||||
}
|
|
||||||
|
|
||||||
public static function NewInstance() : self
|
public static function NewInstance() : self
|
||||||
{
|
{
|
||||||
return new self();
|
return new self();
|
||||||
|
|
|
||||||
|
|
@ -17,11 +17,6 @@ namespace MailSo\Mime;
|
||||||
*/
|
*/
|
||||||
class PartCollection extends \MailSo\Base\Collection
|
class PartCollection extends \MailSo\Base\Collection
|
||||||
{
|
{
|
||||||
protected function __construct()
|
|
||||||
{
|
|
||||||
parent::__construct();
|
|
||||||
}
|
|
||||||
|
|
||||||
public static function NewInstance() : self
|
public static function NewInstance() : self
|
||||||
{
|
{
|
||||||
return new 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);
|
$bAllowIdentities = $this->GetCapa(false, false, \RainLoop\Enumerations\Capa::IDENTITIES, $oAccount);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue