summaryrefslogtreecommitdiffstats
path: root/model/config.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2016-10-21 17:19:28 -0700
committerGitHub <noreply@github.com>2016-10-21 17:19:28 -0700
commit486d12e1c3a5d6658ca0ebd8fd28bec9f6753ce9 (patch)
tree1833ccb7c0ecfccf1400fa5c8153902d8c058fe0 /model/config.go
parent38855327502420f06d1235d9ac34a66d0bcbca34 (diff)
downloadchat-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.go6
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