function ds_extras_update_7005 in Display Suite 7
Cleanup ft-kill variable, change module weight and change vd label field.
File
- modules/
ds_extras/ ds_extras.install, line 185 - Install file.
Code
function ds_extras_update_7005() {
variable_del('ft-kill');
db_update('system')
->fields(array(
'weight' => 2,
))
->condition('name', 'ds_extras')
->execute();
if (db_table_exists('ds_vd')) {
db_change_field('ds_vd', 'label', 'label', array(
'description' => 'The label for the views display.',
'type' => 'varchar',
'length' => 132,
'not null' => TRUE,
'default' => '',
));
}
}