function l10n_update_languages_delete_submit in Localization update 7
Same name and namespace in other branches
- 6 l10n_update.module \l10n_update_languages_delete_submit()
- 7.2 l10n_update.module \l10n_update_languages_delete_submit()
Additional submit handler for language deletion form.
When a language is deleted, the file history of this language is cleared.
1 string reference to 'l10n_update_languages_delete_submit'
- l10n_update_form_alter in ./
l10n_update.module - Implements hook_form_alter().
File
- ./
l10n_update.module, line 179 - Download translations from remote localization server.
Code
function l10n_update_languages_delete_submit($form, $form_state) {
$langcode = $form_state['values']['langcode'];
module_load_include('inc', 'l10n_update');
l10n_update_delete_file_history($langcode);
}