From 9877ff6ebde7695932e7092cd782f555e85515b8 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 15 Oct 2010 03:41:58 +0000 Subject: [PATCH] MINOR Reverted r107305 (from r107307) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112586 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/LeftAndMain.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index ad29bcf0..15ad5153 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -108,9 +108,9 @@ class LeftAndMain extends Controller { // set language $member = Member::currentUser(); - if(!empty($member->Locale)) i18n::set_locale($member->Locale); - if(!empty($member->DateFormat)) i18n::set_date_format($member->DateFormat); - if(!empty($member->TimeFormat)) i18n::set_time_format($member->TimeFormat); + if(!empty($member->Locale)) { + i18n::set_locale($member->Locale); + } // can't be done in cms/_config.php as locale is not set yet CMSMenu::add_link(