You are here

function module_builder_delete_form_submit in Module Builder 6

1 string reference to 'module_builder_delete_form_submit'
module_builder_module_builder in ./module_builder.components.inc

File

./module_builder.pages.inc, line 61

Code

function module_builder_delete_form_submit($form, &$form_state) {
  db_query('DELETE FROM {module_builder_data} WHERE mid = %d', $form_state['values']['mid']);
  db_query('DELETE FROM {module_builder_basic} WHERE mid = %d', $form_state['values']['mid']);
  $form_state['redirect'] = 'admin/build/module_builder';
}