function tripal_feature_delete_db_reference

1.x tripal_feature-db_references.inc tripal_feature_delete_db_reference($dbxref_id)

Related topics

1 call to tripal_feature_delete_db_reference()

File

tripal_feature/includes/tripal_feature-db_references.inc, line 292
@todo Add file header description

Code

function tripal_feature_delete_db_reference($dbxref_id) {

  chado_query(
  "DELETE FROM {dbxref} WHERE dbxref_id=%d", 
  $dbxref_id
  );

  chado_query(
  "DELETE FROM {feature_dbxref} WHERE dbxref_id=%d", 
  $dbxref_id
  );
}