remove debug messages for html email
This commit is contained in:
@@ -56,7 +56,7 @@ function _booking_registration_email($nid, $balance_payment, $manual = false) {
|
||||
'subject' => $subject,
|
||||
'footer' => $message_footer,
|
||||
));
|
||||
watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
//watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
$params['body'] = $html_body;
|
||||
}
|
||||
else {
|
||||
@@ -133,7 +133,7 @@ function _booking_regn_notifyonly_email($node, $balance_payment) {
|
||||
'subject' => $subject,
|
||||
'footer' => $message_footer,
|
||||
));
|
||||
watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
//watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
$params['body'] = $html_body;
|
||||
}
|
||||
else {
|
||||
@@ -255,7 +255,7 @@ function _booking_balance_payment_email($nid) {
|
||||
'subject' => $subject,
|
||||
'footer' => $message_footer,
|
||||
));
|
||||
watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
//watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
$params['body'] = $html_body;
|
||||
}
|
||||
else {
|
||||
@@ -323,7 +323,7 @@ function _booking_partialbalance_payment_email($nid) {
|
||||
'subject' => $subject,
|
||||
'footer' => $message_footer,
|
||||
));
|
||||
watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
//watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
$params['body'] = $html_body;
|
||||
}
|
||||
else {
|
||||
@@ -402,7 +402,7 @@ function _booking_custom_email($nid, $email_type, $sender = 'contact') {
|
||||
'subject' => $subject,
|
||||
'footer' => $message_footer,
|
||||
));
|
||||
watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
//watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
$params['body'] = $html_body;
|
||||
}
|
||||
else {
|
||||
@@ -473,7 +473,7 @@ function _booking_promoted_from_waitinglist_email($nid) {
|
||||
'subject' => $subject,
|
||||
'footer' => $message_footer,
|
||||
));
|
||||
watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
//watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
$params['body'] = $html_body;
|
||||
}
|
||||
else {
|
||||
@@ -547,7 +547,7 @@ function _booking_demoted_to_notcoming_email($nid) {
|
||||
'subject' => $subject,
|
||||
'footer' => $message_footer,
|
||||
));
|
||||
watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
//watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
$params['body'] = $html_body;
|
||||
}
|
||||
else {
|
||||
@@ -617,7 +617,7 @@ function _booking_missedpayment_email($nid) {
|
||||
'subject' => $subject,
|
||||
'footer' => $message_footer,
|
||||
));
|
||||
watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
//watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
$params['body'] = $html_body;
|
||||
}
|
||||
else {
|
||||
@@ -688,7 +688,7 @@ function _booking_travelform_initial_request_email($nid) {
|
||||
'subject' => $subject,
|
||||
'footer' => $message_footer,
|
||||
));
|
||||
watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
//watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
$params['body'] = $html_body;
|
||||
}
|
||||
else {
|
||||
@@ -760,7 +760,7 @@ function _booking_travelform_reminder_request_email($nid) {
|
||||
'subject' => $subject,
|
||||
'footer' => $message_footer,
|
||||
));
|
||||
watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
//watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
$params['body'] = $html_body;
|
||||
}
|
||||
else {
|
||||
@@ -835,7 +835,7 @@ function _booking_travelform_confirmation_email($nid) {
|
||||
'subject' => $subject,
|
||||
'footer' => $message_footer,
|
||||
));
|
||||
watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
//watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
$params['body'] = $html_body;
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user