Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
f17bed7d
Commit
f17bed7d
authored
Feb 09, 2010
by
Angie Byron
Browse files
#709142
by Damien Tournoud: Fixed Locale uninstall tests.
parent
a2ec3c38
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/locale.inc
View file @
f17bed7d
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment