function mediafront_filefield_delete in MediaFront 6
Same name and namespace in other branches
- 6.2 includes/mediafront.filefield.inc \mediafront_filefield_delete()
- 7 includes/mediafront.filefield.inc \mediafront_filefield_delete()
Deletes a mediafront filefield entry
1 call to mediafront_filefield_delete()
- mediafront_content_fieldapi in includes/
mediafront.filefield.inc - Implementation of hook_content_fieldapi().
File
- includes/
mediafront.filefield.inc, line 25
Code
function mediafront_filefield_delete($node_type, $field_name) {
db_query("DELETE FROM {mediafront_filefield} WHERE node_type='%s' AND field_name='%s'", $node_type, $field_name);
}