function tripal_bulk_loader_delete

2.x tripal_bulk_loader.chado_node.inc tripal_bulk_loader_delete($node)
3.x tripal_bulk_loader.chado_node.inc tripal_bulk_loader_delete($node)
1.x tripal_bulk_loader.module tripal_bulk_loader_delete($node)

Implements node_delete Deletes the data when the delete button on the node form is clicked

Related topics

File

tripal_bulk_loader/tripal_bulk_loader.module, line 473
The functions for the Tripal bulk loader.

Code

function tripal_bulk_loader_delete($node) {
  $sql = "DELETE FROM {tripal_bulk_loader} WHERE nid = %d";
  db_query($sql, $node->nid);
}