MM-26620 Add a config setting for controlling ask community link (#14985)

* MM-26620 Add a config setting for controlling ask community link

* Update setting

* Change to support setting
Этот коммит содержится в:
Sudheer
2020-07-09 17:59:22 +05:30
коммит произвёл GitHub
родитель 8b6a5fc5d7
Коммит 50fd95717e
3 изменённых файлов: 7 добавлений и 0 удалений

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

@@ -512,6 +512,7 @@ func (s *Server) trackConfig() {
"isdefault_support_email": isDefault(*cfg.SupportSettings.SupportEmail, model.SUPPORT_SETTINGS_DEFAULT_SUPPORT_EMAIL),
"custom_terms_of_service_enabled": *cfg.SupportSettings.CustomTermsOfServiceEnabled,
"custom_terms_of_service_re_acceptance_period": *cfg.SupportSettings.CustomTermsOfServiceReAcceptancePeriod,
"enable_ask_community_link": *cfg.SupportSettings.EnableAskCommunityLink,
})
s.SendDiagnostic(TRACK_CONFIG_LDAP, map[string]interface{}{