You are here

function data_ui_drop_form_submit in Data 6

Same name and namespace in other branches
  1. 7 data_ui/data_ui.admin.inc \data_ui_drop_form_submit()

Submit handler for data_ui_drop_form().

File

data_ui/data_ui.admin.inc, line 450
Admin UI functions.

Code

function data_ui_drop_form_submit($form, &$form_state) {
  $table = $form['#table'];
  data_drop_table(db_escape_table($table
    ->get('name')));
}