function forena_data_settings_delete in Forena Reports 6.2
Same name and namespace in other branches
- 8 forena_ui/forena.admin.inc \forena_data_settings_delete()
- 7.5 forena.admin.inc \forena_data_settings_delete()
- 7.2 forena.admin.inc \forena_data_settings_delete()
- 7.3 forena.admin.inc \forena_data_settings_delete()
- 7.4 forena.admin.inc \forena_data_settings_delete()
Delete the function Enter description here ...
_state
Parameters
unknown_type $form:
1 string reference to 'forena_data_settings_delete'
File
- ./
forena.admin.inc, line 1404
Code
function forena_data_settings_delete($form, &$form_state) {
if (!@$form_state['storage]']['locked']) {
db_query("DELETE FROM {forena_repositories} WHERE repository='%s'", $form_state['values']['name']);
$form_state['redirect'] = 'admin/settings/forena/data';
unset($form_state['storage']);
}
}