remove debug statement

This commit is contained in:
Nathan Coad
2016-06-23 11:13:05 +10:00
parent 1ab68096b7
commit 4a8e95def3

View File

@@ -378,8 +378,8 @@ function booking_studygroup_leadhelp_edit_form_submit($form, &$form_state) {
$message = "";
//get the previous value
$previous_value = _booking_studygroup_leadhelp_edit_get_previous_value($form, $type, $type . '[' . $session_id . ']');
watchdog('booking_debug', "<pre>Studygroup assignment previous value:\n@info\nCurrent value:\n@current</pre>",
array('@info' => print_r( $previous_value, true), '@current' => print_r( $person, true)));
//watchdog('booking_debug', "<pre>Studygroup assignment previous value:\n@info\nCurrent value:\n@current</pre>",
// array('@info' => print_r( $previous_value, true), '@current' => print_r( $person, true)));
//compare it against $person
//if $person is now empty, set the person's role to zero
if (empty($person) && $previous_value != 0) {