function form_builder_cache_delete in Form Builder 6
Same name and namespace in other branches
- 7.2 includes/form_builder.cache.inc \form_builder_cache_delete()
- 7 includes/form_builder.cache.inc \form_builder_cache_delete()
3 calls to form_builder_cache_delete()
- form_builder_save_form in includes/
form_builder.api.inc - Execute the save methods for a form array.
- form_builder_webform_cancel in modules/
webform/ form_builder_webform.module - Submit handler for the "Cancel" button.
- form_builder_webform_save_node in modules/
webform/ form_builder_webform.module - Save the current Form Builder interface changes for a webform node.
File
- includes/
form_builder.cache.inc, line 58 - form_builder.cache.inc Functions for temporary storage of form builder structures while editing.
Code
function form_builder_cache_delete($form_type, $form_id, $sid = NULL) {
$sid = isset($sid) ? $sid : session_id();
return db_query("DELETE FROM {form_builder_cache} WHERE type = '%s' AND form_id = '%s' AND sid = '%s'", $form_type, $form_id, $sid);
}