You are here

function download_file_settings_reset in DownloadFile 7

Same name and namespace in other branches
  1. 6 download_file.admin.inc \download_file_settings_reset()
  2. 7.3 download_file.admin.inc \download_file_settings_reset()
  3. 7.2 download_file.admin.inc \download_file_settings_reset()

Reset download_file_settings.

File

./download_file.admin.inc, line 42
Download file administration settings.

Code

function download_file_settings_reset($form, &$form_state) {

  // Set variable for the accessible format.
  variable_set('download_file_accessible_format', '(format !extension / !file_size)');
  drupal_set_message(t('The configuration option has been reset to its default values.'));
}