Skip to content
Snippets Groups Projects
Commit f17bed7d authored by Angie Byron's avatar Angie Byron
Browse files

#709142 by Damien Tournoud: Fixed Locale uninstall tests.

parent a2ec3c38
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -379,6 +379,9 @@ function locale_add_language($langcode, $name = NULL, $native = NULL, $direction
variable_set('language_count', variable_get('language_count', 1) + 1);
}
// Kill the static cache in language_list().
drupal_static_reset('language_list');
// Force JavaScript translation file creation for the newly added language.
_locale_invalidate_js($langcode);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment