function filefield_paths_delete in File (Field) Paths 6
Delete the identified row
A CRUD utility for filefield_paths
1 call to filefield_paths_delete()
- filefield_paths_features_rebuild in modules/
features.inc - Create/recreate the items based on the data array. Data should contain a number of filefield_paths definitions.
File
- modules/
features.inc, line 146 - Features module integration.
Code
function filefield_paths_delete($identifier) {
list($type_name, $field_name) = explode('-', $identifier);
db_query("DELETE FROM {filefield_paths} WHERE type = '%s' AND field = '%s'", $type_name, $field_name);
}