function flexslider_optionset_delete in Flex Slider 7
Same name and namespace in other branches
- 7.2 flexslider.module \flexslider_optionset_delete()
Deletes the given option set from the database.
File
- ./
flexslider.module, line 250 - A light-weight, customizable image gallery plugin for Drupal based on jQuery
Code
function flexslider_optionset_delete($optionset) {
db_delete('flexslider_optionset')
->condition('name', $optionset['name'])
->execute();
// TODO: update formatters?
return TRUE;
}