function download_file_update_7100 in DownloadFile 7
Same name and namespace in other branches
- 7.3 download_file.install \download_file_update_7100()
- 7.2 download_file.install \download_file_update_7100()
First update for the 7.1 branch.
File
- ./
download_file.install, line 25
Code
function download_file_update_7100() {
// 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/config/media/download-file'),
)));
}