forked from science-ation/science-ation
Remove redundancy
This commit is contained in:
parent
95a28b4a29
commit
56cbd2dba5
@ -233,9 +233,7 @@ echo mysql_Error();
|
|||||||
|
|
||||||
foreach($recipients AS $recip) {
|
foreach($recipients AS $recip) {
|
||||||
$to=$recip['to'];
|
$to=$recip['to'];
|
||||||
$subsub=array(
|
$subsub=array();
|
||||||
"FAIRNAME"=>$config['fairname']
|
|
||||||
);
|
|
||||||
$subbod=array(
|
$subbod=array(
|
||||||
"TO"=>$recip['to'],
|
"TO"=>$recip['to'],
|
||||||
"EMAIL"=>$recip['email'],
|
"EMAIL"=>$recip['email'],
|
||||||
@ -244,7 +242,6 @@ echo mysql_Error();
|
|||||||
"NAME"=>$recip['firstname']." ".$recip['lastname'],
|
"NAME"=>$recip['firstname']." ".$recip['lastname'],
|
||||||
"REGNUM"=>$regnum,
|
"REGNUM"=>$regnum,
|
||||||
"PROJECTNUMBER"=>$projectnumber,
|
"PROJECTNUMBER"=>$projectnumber,
|
||||||
"FAIRNAME"=>$config['fairname']
|
|
||||||
);
|
);
|
||||||
email_send("register_participants_received",$to,$subsub,$subbod);
|
email_send("register_participants_received",$to,$subsub,$subbod);
|
||||||
}
|
}
|
||||||
@ -258,9 +255,7 @@ echo mysql_Error();
|
|||||||
|
|
||||||
foreach($recipients AS $recip) {
|
foreach($recipients AS $recip) {
|
||||||
$to=$recip['to'];
|
$to=$recip['to'];
|
||||||
$subsub=array(
|
$subsub=array();
|
||||||
"FAIRNAME"=>$config['fairname']
|
|
||||||
);
|
|
||||||
$subbod=array(
|
$subbod=array(
|
||||||
"TO"=>$recip['to'],
|
"TO"=>$recip['to'],
|
||||||
"EMAIL"=>$recip['email'],
|
"EMAIL"=>$recip['email'],
|
||||||
@ -269,7 +264,6 @@ echo mysql_Error();
|
|||||||
"NAME"=>$recip['firstname']." ".$recip['lastname'],
|
"NAME"=>$recip['firstname']." ".$recip['lastname'],
|
||||||
"REGNUM"=>$regnum,
|
"REGNUM"=>$regnum,
|
||||||
"PROJECTNUMBER"=>$projectnumber,
|
"PROJECTNUMBER"=>$projectnumber,
|
||||||
"FAIRNAME"=>$config['fairname']
|
|
||||||
);
|
);
|
||||||
|
|
||||||
email_send("register_participants_paymentpending",$to,$subsub,$subbod);
|
email_send("register_participants_paymentpending",$to,$subsub,$subbod);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user