test
This commit is contained in:
@@ -651,6 +651,15 @@ function booking_update_7242() {
|
||||
_booking_node_create_mysqlview();
|
||||
}
|
||||
|
||||
/**
|
||||
* Add support for html emails
|
||||
*/
|
||||
function booking_update_7243() {
|
||||
$current = variable_get('mail_system', array('default-system' => 'DefaultMailSystem'));
|
||||
$addition = array('booking' => 'BookingMailSystem');
|
||||
variable_set('mail_system', array_merge($current, $addition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Implementation of hook_install().
|
||||
*/
|
||||
@@ -692,6 +701,7 @@ function booking_uninstall() {
|
||||
|
||||
/**
|
||||
* Implement hook_enable()
|
||||
* Based on https://drupal.stackexchange.com/questions/23821/email-a-whole-node-including-template-contents
|
||||
*/
|
||||
function booking_enable() {
|
||||
drupal_set_message($message = t('The Booking System module was successfully enabled.'), $type = 'status');
|
||||
|
Reference in New Issue
Block a user