function tripal_feature_delete_relationship

1.x tripal_feature-relationships.inc tripal_feature_delete_relationship($stock_relationship_id)

Related topics

1 call to tripal_feature_delete_relationship()

File

tripal_feature/includes/tripal_feature-relationships.inc, line 482
@todo Add file header description

Code

function tripal_feature_delete_relationship($stock_relationship_id) {

  $previous_db = db_set_active('chado');
  db_query(
  "DELETE FROM {stock_relationship} WHERE stock_relationship_id=%d", 
  $stock_relationship_id
  );
  db_set_active($previous_db);

}