mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Using Translatable::set_default_lang() for the deprecated i18n::set_default_lang() - this should trigger lang->locale convertion, and fix issues with running a 2.2->2.3 database schema migration (see #4009)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@76872 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
9790c4832a
commit
ab42c551fb
@ -1683,7 +1683,7 @@ class i18n extends Object {
|
||||
* @param $lang String
|
||||
*/
|
||||
static function set_default_lang($lang) {
|
||||
Translatable::set_default_locale($lang);
|
||||
Translatable::set_default_lang($lang);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user