diff --git a/booking.emails.inc b/booking.emails.inc index 87de08e..50c4169 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -256,12 +256,11 @@ function _booking_custom_email($nid, $email_type, $sender = 'contact') '!email' => variable_get('booking_contact_email', variable_get('site_mail', ini_get('sendmail_from'))) )); } elseif ($sender == 'logistics') { - //watchdog('booking', 'Sending a custom email from the logistics email address.'); //calculate the drupal variables to use $email_subject_variable = 'booking_email_logistics_subject_' . $email_type; $email_body_variable = 'booking_email_logistics_' . $email_type; - watchdog('booking_debug', "
Custom logistics email\n@subject\n@body
", - array('@subject' => $email_subject_variable, '@body' => $email_body_variable)); + //watchdog('booking_debug', "
Custom logistics email\n@subject\n@body
", + // array('@subject' => $email_subject_variable, '@body' => $email_body_variable)); //calculate the from email address for a logistics email $from = t('!event Registrations ', array('!event' => $event->booking_eventname, '!email' => variable_get('booking_logistics_email', variable_get('site_mail', ini_get('sendmail_from'))) diff --git a/booking.helper.inc b/booking.helper.inc index b01fad8..7cb93cd 100644 --- a/booking.helper.inc +++ b/booking.helper.inc @@ -1491,7 +1491,7 @@ function _booking_travelform_email_summary($node) { foreach ($rows as $key => $value) $rows[$key] = wordwrap($value); } - + watchdog('booking_debug', "
Travel form summary\n@info
", array('@info' => print_r( $rows, true))); return implode("\n", $rows); } diff --git a/booking.tokens.inc b/booking.tokens.inc index 7c56804..ecb1b68 100644 --- a/booking.tokens.inc +++ b/booking.tokens.inc @@ -613,6 +613,6 @@ function booking_define_personspecific_tokens($node) $tokens['room-allocation'] = _booking_room_email_summary($node); $tokens['bed-type'] = _booking_room_bedtype_lookup(empty($node->booking_room_bedtype) ? '0' : $node->booking_room_bedtype); } - + watchdog('booking_debug', "
Person specific tokens:\n@info
", array('@info' => print_r( $tokens, true))); return $tokens; }