From 486d12e1c3a5d6658ca0ebd8fd28bec9f6753ce9 Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Fri, 21 Oct 2016 17:19:28 -0700 Subject: PLT-4165 removing team name reserved words (#4289) --- model/config.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'model/config.go') 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 -- cgit v1.2.3-1-g7c22