remove debug statement
This commit is contained in:
@@ -364,13 +364,14 @@ function booking_studygroup_leadhelp_edit_form_submit($form, &$form_state) {
|
|||||||
$group_id = $form_state['values']['booking_gid'];
|
$group_id = $form_state['values']['booking_gid'];
|
||||||
$update_messages = array();
|
$update_messages = array();
|
||||||
$counter = 0;
|
$counter = 0;
|
||||||
watchdog('booking_debug', "<pre>Studygroup leader/helper test submission form :\n@info</pre>", array('@info' => print_r( $form_state, true)));
|
//watchdog('booking_debug', "<pre>Studygroup leader/helper test submission form :\n@info</pre>", array('@info' => print_r( $form_state, true)));
|
||||||
|
|
||||||
$role_types = array(
|
$role_types = array(
|
||||||
'booking_studygroup_leader' => 1,
|
'booking_studygroup_leader' => 1,
|
||||||
'booking_studygroup_helper' => 2,
|
'booking_studygroup_helper' => 2,
|
||||||
'booking_studygroup_reserveleader' => 3,
|
'booking_studygroup_reserveleader' => 3,
|
||||||
);
|
);
|
||||||
|
|
||||||
//iterate over the different role types
|
//iterate over the different role types
|
||||||
foreach ($role_types as $type => $type_id) {
|
foreach ($role_types as $type => $type_id) {
|
||||||
//iterate over the sessions for that role type
|
//iterate over the sessions for that role type
|
||||||
|
Reference in New Issue
Block a user