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:
Ingo Schommer 2009-05-14 21:35:30 +00:00
parent 9790c4832a
commit ab42c551fb

View File

@ -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);
}
/**