diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2015-09-24 15:07:48 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2015-09-24 15:07:48 -0400 |
commit | caa157a3774ee86f0e7003ef4debc49bd88cb9f0 (patch) | |
tree | 0808bb98d0e9167d0ac40d62226ca4216bd39578 /api | |
parent | 9d136beb02584b68360ec8b5a37bedb0add9ee90 (diff) | |
parent | 30a5aa44ff7b928cf8e7bbfa7adf05c410c5cf93 (diff) | |
download | chat-caa157a3774ee86f0e7003ef4debc49bd88cb9f0.tar.gz chat-caa157a3774ee86f0e7003ef4debc49bd88cb9f0.tar.bz2 chat-caa157a3774ee86f0e7003ef4debc49bd88cb9f0.zip |
Merge pull request #789 from mattermost/PLT-362
PLT-362 removing themes and hiding OAuth provider option.
Diffstat (limited to 'api')
-rw-r--r-- | api/import.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/api/import.go b/api/import.go index e3f314d20..c465825b4 100644 --- a/api/import.go +++ b/api/import.go @@ -6,7 +6,6 @@ package api import ( l4g "code.google.com/p/log4go" "github.com/mattermost/platform/model" - "github.com/mattermost/platform/utils" ) // @@ -24,9 +23,6 @@ func ImportPost(post *model.Post) { func ImportUser(user *model.User) *model.User { user.MakeNonNil() - if len(user.Props["theme"]) == 0 { - user.AddProp("theme", utils.Cfg.TeamSettings.DefaultThemeColor) - } if result := <-Srv.Store.User().Save(user); result.Err != nil { l4g.Error("Error saving user. err=%v", result.Err) |