You are here

function example_uninstall in Coder 7.2

Same name and namespace in other branches
  1. 7 coder_upgrade/tests/old/samples/example.module \example_uninstall()

File

coder_upgrade/tests/old/samples/example.module, line 497

Code

function example_uninstall() {
  $result = db_query("SELECT * FROM {example}");
  while ($data = db_fetch_object($result)) {
    db_query("DELETE FROM {variable} WHERE name = '%s'", 'example_' . $data->nid);
  }
  drupal_uninstall_schema('example');
}