You are here

function download_file_update_6100 in DownloadFile 6

First update for the 6.1 branch.

File

./download_file.install, line 25

Code

function download_file_update_6100() {

  // Add variable for the accessible format.
  variable_set('download_file_accessible_format', '(format !extension / !file_size)');

  // Clear all cache.
  cache_clear_all();

  // Display the link to configure the format of the link accessible.
  drupal_set_message(t('Configure the format of the link accessible on the <a href="@setting">setting page</a>.', array(
    '@setting' => url('admin/settings/download-file'),
  )));
  return array();
}