mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +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.
|
* Clears all recipients assigned in the TO array. Returns void.
|
||||||
*/
|
*/
|
||||||
public function ClearAddresses() {
|
public function ClearAddresses() {
|
||||||
$this->addresses['to'] = array();
|
$this->addresses['To'] = array();
|
||||||
|
|
||||||
parent::ClearAddresses();
|
parent::ClearAddresses();
|
||||||
}
|
}
|
||||||
@ -253,7 +253,7 @@ class egw_mailer extends PHPMailer
|
|||||||
* Clears all recipients assigned in the CC array. Returns void.
|
* Clears all recipients assigned in the CC array. Returns void.
|
||||||
*/
|
*/
|
||||||
public function ClearCCs() {
|
public function ClearCCs() {
|
||||||
$this->addresses['cc'] = array();
|
$this->addresses['Cc'] = array();
|
||||||
|
|
||||||
parent::ClearCCs();
|
parent::ClearCCs();
|
||||||
}
|
}
|
||||||
@ -262,7 +262,7 @@ class egw_mailer extends PHPMailer
|
|||||||
* Clears all recipients assigned in the BCC array. Returns void.
|
* Clears all recipients assigned in the BCC array. Returns void.
|
||||||
*/
|
*/
|
||||||
public function ClearBCCs() {
|
public function ClearBCCs() {
|
||||||
$this->addresses['bcc'] = array();
|
$this->addresses['Bcc'] = array();
|
||||||
|
|
||||||
parent::ClearBCCs();
|
parent::ClearBCCs();
|
||||||
}
|
}
|
||||||
@ -271,9 +271,7 @@ class egw_mailer extends PHPMailer
|
|||||||
* Clears all recipients assigned in the TO, CC and BCC array. Returns void.
|
* Clears all recipients assigned in the TO, CC and BCC array. Returns void.
|
||||||
*/
|
*/
|
||||||
public function ClearAllRecipients() {
|
public function ClearAllRecipients() {
|
||||||
$this->addresses['to'] = array();
|
$this->addresses = array();
|
||||||
$this->addresses['cc'] = array();
|
|
||||||
$this->addresses['bcc'] = array();
|
|
||||||
|
|
||||||
parent::ClearAllRecipients();
|
parent::ClearAllRecipients();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user