You are here

function forena_data_settings_delete in Forena Reports 7.3

Same name and namespace in other branches
  1. 8 forena_ui/forena.admin.inc \forena_data_settings_delete()
  2. 6.2 forena.admin.inc \forena_data_settings_delete()
  3. 7.5 forena.admin.inc \forena_data_settings_delete()
  4. 7.2 forena.admin.inc \forena_data_settings_delete()
  5. 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'
forena_data_settings_edit in ./forena.admin.inc

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();
  }
}