function js_injector_update_7001 in JS injector 7.2
Change the description field to be called 'admin_description' so that it is displayed on the export UI list form.
File
- ./
js_injector.install, line 164 - js_injector.install
Code
function js_injector_update_7001(&$sandbox) {
// Quick sanity check to ensure the column exists.
if (db_field_exists('js_injector_rule', 'description')) {
db_change_field('js_injector_rule', 'description', 'admin_description', array(
'type' => 'varchar',
'length' => '255',
'description' => 'A human readable name of a rule.',
));
}
}