function customfilter_delete_set in Custom filter 5
1 call to customfilter_delete_set()
- customfilter_set_delete_submit in ./
customfilter.module - Delete the filter set.
File
- ./
customfilter.module, line 764
Code
function customfilter_delete_set($sid) {
$filters = customfilter_get_filters($sid);
foreach ($filters as $filter) {
customfilter_delete_filter($filter['fid']);
}
db_query('DELETE FROM {customfilter_set} WHERE sid = %d', $sid);
}