Minor model/config.go coverage improvements (#14094)
* add TestConfigEnableDeveloper * remove dead code
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
911e636ec3
Коммит
b718618fbc
@@ -415,10 +415,6 @@ func (s *ServiceSettings) SetDefaults(isUpdate bool) {
|
||||
s.EnableIncomingWebhooks = NewBool(true)
|
||||
}
|
||||
|
||||
if s.EnableIncomingWebhooks == nil {
|
||||
s.EnableIncomingWebhooks = NewBool(true)
|
||||
}
|
||||
|
||||
if s.EnableOutgoingWebhooks == nil {
|
||||
s.EnableOutgoingWebhooks = NewBool(true)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user