mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +01:00
remove not used/existing async_identity configuration
This commit is contained in:
parent
e4cf9d8715
commit
82b41c2d62
@ -83,20 +83,6 @@ class notifications_email implements notifications_iface {
|
|||||||
{
|
{
|
||||||
$ident = Api\Mail\Account::read($this->config->async_identity);
|
$ident = Api\Mail\Account::read($this->config->async_identity);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
if($this->config->async_account)
|
|
||||||
{
|
|
||||||
$mail_identities = Api\Mail\Account::identities([], true, 'params', $this->config->async_account);
|
|
||||||
foreach($mail_identities as $mi)
|
|
||||||
{
|
|
||||||
if($mi['ident_email'] == $this->config->async_email || !$this->config->async_email)
|
|
||||||
{
|
|
||||||
$ident = Api\Mail\Account::read($mi['acc_id']);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$this->mail = new Api\Mailer($ident);
|
$this->mail = new Api\Mailer($ident);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user