remove some unnecessary logging
This commit is contained in:
@@ -437,15 +437,13 @@ function _booking_travelform_initial_request_email($nid)
|
||||
//return without doing anything if we shouldn't send workflow emails
|
||||
if (variable_get('booking_auto_workflow_email', 0) == 0)
|
||||
{
|
||||
watchdog('booking', 'Not sending travelform confirmation email since that feature is currently disabled.');
|
||||
watchdog('booking', 'Not sending travelform initial request email since that feature is currently disabled.');
|
||||
return;
|
||||
}
|
||||
|
||||
//load the node matching this id from the database, ignoring the cache
|
||||
$node = node_load($nid, NULL, TRUE);
|
||||
$tokens = booking_define_personspecific_tokens($node);
|
||||
|
||||
watchdog('booking', 'Sending travelform confirmation email to !first !last', array('!first' => $node->booking_firstname, '!last' => $node->booking_lastname));
|
||||
$tokens = booking_define_personspecific_tokens($node);
|
||||
|
||||
//calculate the from email address
|
||||
$from = t('!event Travel <!email>', array('!event' => $event->booking_eventname,
|
||||
@@ -486,15 +484,13 @@ function _booking_travelform_reminder_request_email($nid)
|
||||
//return without doing anything if we shouldn't send workflow emails
|
||||
if (variable_get('booking_auto_workflow_email', 0) == 0)
|
||||
{
|
||||
watchdog('booking', 'Not sending travelform confirmation email since that feature is currently disabled.');
|
||||
watchdog('booking', 'Not sending travelform reminder request email since that feature is currently disabled.');
|
||||
return;
|
||||
}
|
||||
|
||||
//load the node matching this id from the database, ignoring the cache
|
||||
$node = node_load($nid, NULL, TRUE);
|
||||
$tokens = booking_define_personspecific_tokens($node);
|
||||
|
||||
watchdog('booking', 'Sending travelform confirmation email to !first !last', array('!first' => $node->booking_firstname, '!last' => $node->booking_lastname));
|
||||
|
||||
//calculate the from email address
|
||||
$from = t('!event Travel <!email>', array('!event' => $event->booking_eventname,
|
||||
|
Reference in New Issue
Block a user