diff options
author | Corey Hulen <corey@hulen.com> | 2016-10-21 17:19:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-21 17:19:28 -0700 |
commit | 486d12e1c3a5d6658ca0ebd8fd28bec9f6753ce9 (patch) | |
tree | 1833ccb7c0ecfccf1400fa5c8153902d8c058fe0 /model/config.go | |
parent | 38855327502420f06d1235d9ac34a66d0bcbca34 (diff) | |
download | chat-486d12e1c3a5d6658ca0ebd8fd28bec9f6753ce9.tar.gz chat-486d12e1c3a5d6658ca0ebd8fd28bec9f6753ce9.tar.bz2 chat-486d12e1c3a5d6658ca0ebd8fd28bec9f6753ce9.zip |
PLT-4165 removing team name reserved words (#4289)
Diffstat (limited to 'model/config.go')
-rw-r--r-- | model/config.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/model/config.go b/model/config.go index 09bf11a71..321307539 100644 --- a/model/config.go +++ b/model/config.go @@ -214,7 +214,6 @@ type TeamSettings struct { EnableUserCreation bool EnableOpenServer *bool RestrictCreationToDomains string - RestrictTeamNames *bool EnableCustomBrand *bool CustomBrandText *string CustomDescriptionText *string @@ -453,11 +452,6 @@ func (o *Config) SetDefaults() { *o.PasswordSettings.Symbol = false } - if o.TeamSettings.RestrictTeamNames == nil { - o.TeamSettings.RestrictTeamNames = new(bool) - *o.TeamSettings.RestrictTeamNames = true - } - if o.TeamSettings.EnableCustomBrand == nil { o.TeamSettings.EnableCustomBrand = new(bool) *o.TeamSettings.EnableCustomBrand = false |