Permalink
Browse files

MINOR Reverted r107305

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@107307 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 87341f9 commit e6aeb9421784e900d9d79125dd0ebcef1e6e8edd @halkyon halkyon committed with sminnee Jun 30, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 code/LeftAndMain.php
View
6 code/LeftAndMain.php
@@ -101,9 +101,9 @@ function init() {
// 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(

0 comments on commit e6aeb94

Please sign in to comment.