function user_relationships_delete_elaboration in User Relationships 7
Same name and namespace in other branches
- 6 user_relationship_elaborations/user_relationship_elaborations.module \user_relationships_delete_elaboration()
Delete an elaboration from the DB
Parameters
$rid: an integer, the relationship ID
1 call to user_relationships_delete_elaboration()
- user_relationship_elaborations_submit in user_relationship_elaborations/
user_relationship_elaborations.module - process the submitted form and save the new record
File
- user_relationship_elaborations/
user_relationship_elaborations.module, line 39 - User Relationships Elaborations feature @author Jeff Smick (creator) @author Darren Ferguson http://drupal.org/user/70179
Code
function user_relationships_delete_elaboration($rid) {
db_delete('user_relationship_elaborations')
->condition('rid', $rid)
->execute();
}