mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
need to reimplement Clear methods from parent, to also clear our private addresses
This commit is contained in:
parent
188328b1d0
commit
57634dc01f
@ -239,4 +239,40 @@ class egw_mailer extends PHPMailer
|
||||
7 => 0
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Clears all recipients assigned in the TO array. Returns void.
|
||||
*/
|
||||
public function ClearAddresses() {
|
||||
$this->addresses['to'] = array();
|
||||
|
||||
parent::ClearAddresses();
|
||||
}
|
||||
|
||||
/**
|
||||
* Clears all recipients assigned in the CC array. Returns void.
|
||||
*/
|
||||
public function ClearCCs() {
|
||||
$this->addresses['cc'] = array();
|
||||
|
||||
parent::ClearCCs();
|
||||
}
|
||||
|
||||
/**
|
||||
* Clears all recipients assigned in the BCC array. Returns void.
|
||||
*/
|
||||
public function ClearBCCs() {
|
||||
$this->addresses['bcc'] = array();
|
||||
|
||||
parent::ClearBCCs();
|
||||
}
|
||||
|
||||
/**
|
||||
* Clears all recipients assigned in the TO, CC and BCC array. Returns void.
|
||||
*/
|
||||
public function ClearAllRecipients() {
|
||||
$this->addresses = array();
|
||||
|
||||
parent::ClearAllRecipients();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user