mailtemplate stored as json in variable table

This commit is contained in:
2017-09-15 15:00:28 +10:00
parent 19978d51f5
commit 8f1319c79a
4 changed files with 101 additions and 20 deletions

View File

@@ -737,20 +737,10 @@ function booking_update_7249() {
}
/**
* Create table to store configuration for HTML email templates
* Deprecated - Create table to store configuration for HTML email templates
*/
function booking_update_7250() {
/*
* Add fields for this:
Up to 3 instances of
- link text
- link URL
Up to 4 instances of
- social media title
- social media icon URL
- social media link
*/
function booking_update_7250() {
$booking_mailtemplate_fields = array(
'fields' => array(
'mid' => array('type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE, 'disp-width' => '10'),
@@ -768,6 +758,7 @@ function booking_update_7250() {
//update the view to match the new table definition
_booking_node_create_mysqlview();
}
*/
/**
* Implementation of hook_install().