You are here

function support_uninstall in Support Ticketing System 6

Same name and namespace in other branches
  1. 7 support.install \support_uninstall()

Cleanup.

File

./support.install, line 393

Code

function support_uninstall() {
  $result = db_query("SELECT nid FROM {node} WHERE type = 'support_ticket'");
  while ($node = db_fetch_object($result)) {
    node_delete($node->nid);
  }
  drupal_uninstall_schema('support');
}