Put back in email sending for new registraitons

This commit is contained in:
dave 2010-04-18 22:41:25 +00:00
parent 6fa1c6d266
commit ec5327f7ac

View File

@ -294,10 +294,10 @@ function award_upload_assign(&$fair, &$award, &$prize, &$project, $year, &$respo
if($award['external_register_winners'] == 1 && $new_reg == true) { if($award['external_register_winners'] == 1 && $new_reg == true) {
/* This award is for students who are participating in this fair, we need /* This award is for students who are participating in this fair, we need
* to get their reg number to them if this is a new registration */ * to get their reg number to them if this is a new registration */
// email_send("new_participant",$student['email'],array(), email_send("new_participant",$student['email'],array(),
// array( "EMAIL"=>$student['email'], array( "EMAIL"=>$student['email'],
// "REGNUM"=>$registration['num']) "REGNUM"=>$registration['num'])
// ); );
$response['notice'][] = " - Sent welcome registration email to: {$student['firstname']} {$student['lastname']} <{$student['email']}>"; $response['notice'][] = " - Sent welcome registration email to: {$student['firstname']} {$student['lastname']} <{$student['email']}>";
} }
} }