function panels_update_7307 in Panels 7.3
Add a custom table for allowed types.
File
- ./
panels.install, line 656
Code
function panels_update_7307() {
$schema = panels_schema_9();
$table_name = 'panels_allowed_types';
if (!db_table_exists($table_name)) {
db_create_table($table_name, $schema[$table_name]);
}
/*
The version of this update hook in release 3.8 included code that
converted storage of allowed_types configuration from variables to the new
table, and also deleted existing allowed_types configuration variables.
See https://www.drupal.org/node/2479879.
In order to prevent data loss on sites that had not yet updated to 3.8, the
conversion and variable-deletion code has been removed from this update hook.
*/
}