MM-15662: Rename "CreateBotAccounts" config.json setting to "EnableBotAccountCreation" (#10875)

* MM-15662 change conflig flag to EnableBotAccountCreation

* undo changes to i18n

* MM-15662: Change config flag for bot creation

adds newline to i18n

* MM-15662 Update diagnostics.go to use new config flag
Этот коммит содержится в:
Andres Orozco
2019-05-23 16:03:22 -04:00
коммит произвёл Christopher Speller
родитель 693d11304b
Коммит 88005fbf54
7 изменённых файлов: 47 добавлений и 47 удалений

Просмотреть файл

@@ -293,7 +293,7 @@ type ServiceSettings struct {
EnableEmailInvitations *bool
ExperimentalLdapGroupSync *bool
DisableBotsWhenOwnerIsDeactivated *bool `restricted:"true"`
CreateBotAccounts *bool
EnableBotAccountCreation *bool
}
func (s *ServiceSettings) SetDefaults() {
@@ -637,8 +637,8 @@ func (s *ServiceSettings) SetDefaults() {
s.DisableBotsWhenOwnerIsDeactivated = NewBool(true)
}
if s.CreateBotAccounts == nil {
s.CreateBotAccounts = NewBool(false)
if s.EnableBotAccountCreation == nil {
s.EnableBotAccountCreation = NewBool(false)
}
}