You are here

function data_drop_table in Data 7

Same name and namespace in other branches
  1. 6 data.module \data_drop_table()

@todo: remove.

Deprecated

  • use $table->drop() instead.
2 calls to data_drop_table()
DataTestCaseAPI::testAPIFunctions in tests/data.test
Test API functions of DataTable and DataHandler.
data_ui_drop_form_submit in data_ui/data_ui.admin.inc
Submit handler for data_ui_drop_form().

File

./data.module, line 87
Hooks and API functions for data module.

Code

function data_drop_table($name) {
  if ($table = data_get_table($name)) {
    $table
      ->drop();
  }
}