You are here

function fieldgroup_content_admin_field_remove_submit in Content Construction Kit (CCK) 5

Same name and namespace in other branches
  1. 6 modules/fieldgroup/fieldgroup.module \fieldgroup_content_admin_field_remove_submit()

File

./fieldgroup.module, line 358
Create field groups for CCK fields.

Code

function fieldgroup_content_admin_field_remove_submit($form_id, &$form_values) {
  db_query("DELETE FROM {node_group_fields} WHERE type_name = '%s' AND field_name = '%s'", $form_values['type_name'], $form_values['field_name']);
}