function forena_data_settings_delete in Forena Reports 7.3
Same name and namespace in other branches
- 8 forena_ui/forena.admin.inc \forena_data_settings_delete()
- 6.2 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.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 1240
Code
function forena_data_settings_delete($form, &$form_state) {
if (!@$form_state['storage]']['locked']) {
$form_state['redirect'] = 'admin/config/content/forena/data';
db_delete('forena_repositories')
->condition('repository', $form_state['values']['name'], '=')
->execute();
}
}