Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Drupal.org issue queue
Drupal.org issue queue
Security & Compliance
Security & Compliance
Dependency List
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
project
drupal
Commits
70d60fb8
Commit
70d60fb8
authored
Apr 09, 2010
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#642614
by plach: locale_add_language() should reset entity_info() cache.
parent
dcda1fcd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
includes/locale.inc
includes/locale.inc
+2
-0
modules/locale/locale.admin.inc
modules/locale/locale.admin.inc
+0
-2
No files found.
includes/locale.inc
View file @
70d60fb8
...
...
@@ -386,6 +386,8 @@ function locale_add_language($langcode, $name = NULL, $native = NULL, $direction
_locale_invalidate_js
(
$langcode
);
watchdog
(
'locale'
,
'The %language language (%code) has been created.'
,
array
(
'%language'
=>
$name
,
'%code'
=>
$langcode
));
module_invoke_all
(
'multilingual_settings_changed'
);
}
/**
* @} End of "locale-api-add"
...
...
modules/locale/locale.admin.inc
View file @
70d60fb8
...
...
@@ -339,8 +339,6 @@ function locale_languages_predefined_form_submit($form, &$form_state) {
batch_set
(
$batch
);
}
module_invoke_all
(
'multilingual_settings_changed'
);
$form_state
[
'redirect'
]
=
'admin/config/regional/language'
;
return
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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