diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-06-01 11:56:27 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-06-01 11:56:27 -0400 |
commit | 786e4dce7d520f79b8cf76939d84678d72941420 (patch) | |
tree | 5bb520880d200cba90c5ada250c63144e18c3333 /api/user.go | |
parent | b00a60ab71b2bd4640c8608d71805ba9caae97d9 (diff) | |
download | chat-786e4dce7d520f79b8cf76939d84678d72941420.tar.gz chat-786e4dce7d520f79b8cf76939d84678d72941420.tar.bz2 chat-786e4dce7d520f79b8cf76939d84678d72941420.zip |
Revert "PLT-1800 Load server side locale from the config.json" (#3201)
Diffstat (limited to 'api/user.go')
-rw-r--r-- | api/user.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/api/user.go b/api/user.go index 4d4518824..caf573463 100644 --- a/api/user.go +++ b/api/user.go @@ -239,7 +239,6 @@ func CreateUser(user *model.User) (*model.User, *model.AppError) { } user.MakeNonNil() - user.Locale = *utils.Cfg.LocalizationSettings.DefaultClientLocale if result := <-Srv.Store.User().Save(user); result.Err != nil { l4g.Error(utils.T("api.user.create_user.save.error"), result.Err) |