mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
using correct case: To, Cc and Bcc
This commit is contained in:
parent
d22f24666b
commit
0f37c16cd8
@ -244,7 +244,7 @@ class egw_mailer extends PHPMailer
|
||||
* Clears all recipients assigned in the TO array. Returns void.
|
||||
*/
|
||||
public function ClearAddresses() {
|
||||
$this->addresses['to'] = array();
|
||||
$this->addresses['To'] = array();
|
||||
|
||||
parent::ClearAddresses();
|
||||
}
|
||||
@ -253,7 +253,7 @@ class egw_mailer extends PHPMailer
|
||||
* Clears all recipients assigned in the CC array. Returns void.
|
||||
*/
|
||||
public function ClearCCs() {
|
||||
$this->addresses['cc'] = array();
|
||||
$this->addresses['Cc'] = array();
|
||||
|
||||
parent::ClearCCs();
|
||||
}
|
||||
@ -262,7 +262,7 @@ class egw_mailer extends PHPMailer
|
||||
* Clears all recipients assigned in the BCC array. Returns void.
|
||||
*/
|
||||
public function ClearBCCs() {
|
||||
$this->addresses['bcc'] = array();
|
||||
$this->addresses['Bcc'] = array();
|
||||
|
||||
parent::ClearBCCs();
|
||||
}
|
||||
@ -271,9 +271,7 @@ class egw_mailer extends PHPMailer
|
||||
* Clears all recipients assigned in the TO, CC and BCC array. Returns void.
|
||||
*/
|
||||
public function ClearAllRecipients() {
|
||||
$this->addresses['to'] = array();
|
||||
$this->addresses['cc'] = array();
|
||||
$this->addresses['bcc'] = array();
|
||||
$this->addresses = array();
|
||||
|
||||
parent::ClearAllRecipients();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user