diff options
author | sanmugam | 2013-09-03 16:52:05 +0530 |
---|---|---|
committer | sanmugam | 2013-09-03 16:52:05 +0530 |
commit | 56acf32c46a385ba55e8661ea9c9b5f395b77250 (patch) | |
tree | b17504804e75a338b1502c3c171697aafe32de36 /code.inc | |
parent | a2afec1ef091393c04f3845e2ca59dc1a74d561a (diff) | |
download | scilab_textbook_companion-56acf32c46a385ba55e8661ea9c9b5f395b77250.tar.gz scilab_textbook_companion-56acf32c46a385ba55e8661ea9c9b5f395b77250.tar.bz2 scilab_textbook_companion-56acf32c46a385ba55e8661ea9c9b5f395b77250.zip |
Email: BCC to TBC admins
Diffstat (limited to 'code.inc')
-rwxr-xr-x | code.inc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -532,7 +532,7 @@ function upload_examples_form_submit($form, &$form_state) { drupal_set_message('Example uploaded successfully.', 'status'); /* sending email */ - $email_to = $user->mail . ', ' . variable_get('textbook_companion_emails', ''); + $email_to = $user->mail; $param['example_uploaded']['example_id'] = $example_id; $param['example_uploaded']['user_id'] = $user->uid; if (!drupal_mail('textbook_companion', 'example_uploaded', $email_to, language_default(), $param, variable_get('textbook_companion_from_email', NULL), TRUE)) @@ -600,7 +600,7 @@ function _upload_examples_delete() drupal_set_message('Example deleted.', 'status'); /* sending email */ - $email_to = $user->mail . ', ' . variable_get('textbook_companion_emails', ''); + $email_to = $user->mail; $param['example_deleted_user']['book_title'] = $preference_data->book; $param['example_deleted_user']['chapter_title'] = $chapter_data->name; $param['example_deleted_user']['example_number'] = $example_data->number; |