function l10n_update_delete_file_history in Localization update 6
Same name and namespace in other branches
- 7 l10n_update.inc \l10n_update_delete_file_history()
Delete the history of downloaded translations.
Parameters
string $langcode: Language code of the file history to be deleted.
1 call to l10n_update_delete_file_history()
- l10n_update_languages_delete_submit in ./
l10n_update.module - Additional submit handler for language deletion form.
File
- ./
l10n_update.inc, line 208
Code
function l10n_update_delete_file_history($langcode) {
db_query("DELETE FROM {l10n_update_file} WHERE language = '%s'", $langcode);
}