remove test email preselection

This commit is contained in:
2016-06-18 14:07:39 +10:00
parent ee350ed26b
commit 0aa7d4381e

View File

@@ -306,7 +306,6 @@ function booking_manual_email_form($form, &$form_state)
$preselection_options['notravelform'] = "People booked-in no travel form received";
$preselection_options['notravelforminclwaiting'] = "People booked-in/waiting no travel form received";
$preselection_options['leaderhelper'] = "Leaders/Helpers";
$preselection_options['test'] = 'Testing';
$header = array(
'booking_nid' => array('data' => t('Id'), 'field' => 'nid', 'sort' => 'asc'),
@@ -586,11 +585,6 @@ function _booking_email_get_default_selection_callback($form, $form_state) {
}
}
break;
case 'test':
if ($person->booking_lastname == 'Coad') {
$defaults[] = $person->nid;
}
break;
} //end switch
} //loop attendees