make sure the mail object is ALWAYS created new, as it may cause problems with the sender information, if notification is running as cronjob and trying to notify users with different senderinformation

This commit is contained in:
Klaus Leithoff 2011-02-21 12:12:29 +00:00
parent 7a9b365d2b
commit 5267605a79

View File

@ -74,6 +74,11 @@ class notifications_email implements notifications_iface {
{
$this->mail = new send();
}
else
{
unset($this->mail);
$this->mail = new send();
}
}
/**