From ab42c551fbe5f78437b4a3b595f29fca94b75b36 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 14 May 2009 21:35:30 +0000 Subject: [PATCH] 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 --- core/i18n.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/i18n.php b/core/i18n.php index 3ff989f9e..69a7dda37 100755 --- a/core/i18n.php +++ b/core/i18n.php @@ -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); } /**