This commit is contained in:
2017-06-27 20:46:43 +10:00
parent 73185c28f3
commit 4c9cc6f519

View File

@@ -10,14 +10,6 @@ function booking_admin() {
//regenerate all our menu hooks when loading this form //regenerate all our menu hooks when loading this form
menu_rebuild(); menu_rebuild();
//dodgy hack for testing
variable_set('mail_system', array('default-system' => 'DefaultMailSystem', 'booking' => 'BookingMailSystem'));
/*
mailsystem_set(array(
'booking' => 'BookingMailSystem',
));
*/
//create the mysql view booking_person_view if necessary //create the mysql view booking_person_view if necessary
try { try {
$sqlview_check = db_query("SELECT * FROM {booking_person_view}")->fetchAssoc(); $sqlview_check = db_query("SELECT * FROM {booking_person_view}")->fetchAssoc();
@@ -35,7 +27,7 @@ function booking_admin() {
'#collapsible' => TRUE, '#collapsible' => TRUE,
); );
$form['features']['booking_enable_html_mail'] = array( $form['email']['booking_enable_html_mail'] = array(
'#type' => 'radios', '#type' => 'radios',
'#title' => t('Enable html emails?'), '#title' => t('Enable html emails?'),
'#description' => t('Turn this feature on for html based emails, otherwise plaintext emails will be used. HTML based emails will require a custom template file to be defined.'), '#description' => t('Turn this feature on for html based emails, otherwise plaintext emails will be used. HTML based emails will require a custom template file to be defined.'),