remove debug statement
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user