diff --git a/booking.regn_form.inc b/booking.regn_form.inc index cd2b84c..ef7036a 100644 --- a/booking.regn_form.inc +++ b/booking.regn_form.inc @@ -1098,7 +1098,7 @@ function booking_form_validate($form, &$form_state) { global $event; $node = $form_state['values']['form_id']; $data = $form_state['input']; - watchdog('booking', '
Booking registration form validation:\n@info
', array('@info' => print_r( $data, true))); + //watchdog('booking_debug', '
Booking registration form validation:\n@info
', array('@info' => print_r( $data, true))); //if necessary, validate early access code if (variable_get('booking_enable_earlyaccess_codes', 0) == 1 && (isset($data['booking_earlyaccess']) && $data['booking_earlyaccess'] == 1)) { @@ -1452,11 +1452,11 @@ function booking_form_submit($form, &$form_state) $node->booking_amount_paid = 0; $node->booking_total_pay_reqd = $payment_total_price->booking_price; - watchdog('booking', 'Node data: @info', array('@info' => var_export($node, TRUE))); + //watchdog('booking_debug', 'Node data: @info', array('@info' => var_export($node, TRUE))); $foo = node_submit($node); - watchdog('booking', 'Node data after submit: @info', array('@info' => var_export($foo, TRUE))); + //watchdog('booking_debug', 'Node data after submit: @info', array('@info' => var_export($foo, TRUE))); $blah = node_save($foo); - watchdog('booking', 'Node data after save: @info', array('@info' => var_export($blah, TRUE))); + //watchdog('booking_debug', 'Node data after save: @info', array('@info' => var_export($blah, TRUE))); //post submission triggers _booking_form_submit_post_triggers($node); diff --git a/booking.regn_node.inc b/booking.regn_node.inc index 4d7808e..4455f06 100644 --- a/booking.regn_node.inc +++ b/booking.regn_node.inc @@ -467,8 +467,8 @@ function booking_update($node) { $data['booking_firstname'] = _booking_ucname($data['booking_firstname']); $data['booking_lastname'] = _booking_ucname($data['booking_lastname']); - watchdog('booking', '
Old node:\n@info
', array('@info' => var_export($node, TRUE))); - watchdog('booking', 'Updating node: @info', array('@info' => var_export($data, TRUE))); + //watchdog('booking_debug', "
Old node:\n@info
", array('@info' => var_export($node, TRUE))); + watchdog('booking_debug', 'Updating node: @info', array('@info' => var_export($data, TRUE))); db_update('booking_person')->fields($data)->condition('nid', $node->nid)->execute(); /* //watchdog('booking', 'Updating node: @info', array('@info' => var_export($node, TRUE)));