diff options
author | prashantsinalkar | 2018-10-23 16:52:10 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-10-23 16:52:10 +0530 |
commit | 978fa39e512c8fc9edce34bb9a714c1c99bbeee2 (patch) | |
tree | d935d1e5d53f8e921eecff4ffa67c8728a5eb981 | |
parent | 05584bfc7d829ff535ce9aead8ebb1f24c732cc2 (diff) | |
download | osdag_workshop_booking-978fa39e512c8fc9edce34bb9a714c1c99bbeee2.tar.gz osdag_workshop_booking-978fa39e512c8fc9edce34bb9a714c1c99bbeee2.tar.bz2 osdag_workshop_booking-978fa39e512c8fc9edce34bb9a714c1c99bbeee2.zip |
uncommented the mail function
-rw-r--r-- | workshop_registration_process.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/workshop_registration_process.inc b/workshop_registration_process.inc index e400188..28655de 100644 --- a/workshop_registration_process.inc +++ b/workshop_registration_process.inc @@ -400,8 +400,8 @@ function osdag_workshop_booking_proposal_approval_form_submit($form, &$form_stat 'Cc' => $cc, 'Bcc' => $bcc ); - // if (!drupal_mail('osdag_workshop_booking', 'proposal_disapproved', $email_to, language_default(), $params, $from, TRUE)) - // drupal_set_message('Error sending email message.', 'error'); + if (!drupal_mail('osdag_workshop_booking', 'proposal_disapproved', $email_to, language_default(), $params, $from, TRUE)) + drupal_set_message('Error sending email message.', 'error'); drupal_set_message('Proposal dis-approved. User has been notified of the dis-approval.', 'error'); drupal_goto('osdag-workshop-booking/manage-proposal'); @@ -434,8 +434,8 @@ function osdag_workshop_booking_proposal_approval_form_submit($form, &$form_stat 'Cc' => $cc, 'Bcc' => $bcc ); - // if (!drupal_mail('osdag_workshop_booking', 'proposal_approved', $email_to, language_default(), $params, $from, TRUE)) - // drupal_set_message('Error sending email message.', 'error'); + if (!drupal_mail('osdag_workshop_booking', 'proposal_approved', $email_to, language_default(), $params, $from, TRUE)) + drupal_set_message('Error sending email message.', 'error'); drupal_set_message('Proposal approved. User has been notified of the approval', 'status'); drupal_goto('osdag-workshop-booking/manage-proposal'); |