mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
rewrite of r33861, a bit more elegant
This commit is contained in:
parent
5267605a79
commit
76c981d20d
@ -70,15 +70,11 @@ class notifications_email implements notifications_iface {
|
|||||||
$this->recipient = $_recipient;
|
$this->recipient = $_recipient;
|
||||||
$this->config = $_config;
|
$this->config = $_config;
|
||||||
$this->preferences = $_preferences;
|
$this->preferences = $_preferences;
|
||||||
if(!is_object($this->mail))
|
if(is_object($this->mail))
|
||||||
{
|
|
||||||
$this->mail = new send();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
unset($this->mail);
|
unset($this->mail);
|
||||||
$this->mail = new send();
|
|
||||||
}
|
}
|
||||||
|
$this->mail = new send();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user