remove references to CloudBilling
Этот коммит содержится в:
@@ -54,7 +54,6 @@ func GenerateClientConfig(c *model.Config, telemetryID string, license *model.Li
|
|||||||
// This setting is only temporary, so keep using the old setting name for the mobile and web apps
|
// This setting is only temporary, so keep using the old setting name for the mobile and web apps
|
||||||
props["ExperimentalEnablePostMetadata"] = "true"
|
props["ExperimentalEnablePostMetadata"] = "true"
|
||||||
|
|
||||||
props["ExperimentalCloudBilling"] = strconv.FormatBool(*c.ExperimentalSettings.CloudBilling)
|
|
||||||
props["EnableAppBar"] = strconv.FormatBool(*c.ExperimentalSettings.EnableAppBar)
|
props["EnableAppBar"] = strconv.FormatBool(*c.ExperimentalSettings.EnableAppBar)
|
||||||
|
|
||||||
props["ExperimentalEnableAutomaticReplies"] = strconv.FormatBool(*c.TeamSettings.ExperimentalEnableAutomaticReplies)
|
props["ExperimentalEnableAutomaticReplies"] = strconv.FormatBool(*c.TeamSettings.ExperimentalEnableAutomaticReplies)
|
||||||
|
|||||||
@@ -955,7 +955,6 @@ type ExperimentalSettings struct {
|
|||||||
LinkMetadataTimeoutMilliseconds *int64 `access:"experimental_features,write_restrictable,cloud_restrictable"`
|
LinkMetadataTimeoutMilliseconds *int64 `access:"experimental_features,write_restrictable,cloud_restrictable"`
|
||||||
RestrictSystemAdmin *bool `access:"experimental_features,write_restrictable"`
|
RestrictSystemAdmin *bool `access:"experimental_features,write_restrictable"`
|
||||||
UseNewSAMLLibrary *bool `access:"experimental_features,cloud_restrictable"`
|
UseNewSAMLLibrary *bool `access:"experimental_features,cloud_restrictable"`
|
||||||
CloudBilling *bool `access:"experimental_features,write_restrictable"`
|
|
||||||
EnableSharedChannels *bool `access:"experimental_features"`
|
EnableSharedChannels *bool `access:"experimental_features"`
|
||||||
EnableRemoteClusterService *bool `access:"experimental_features"`
|
EnableRemoteClusterService *bool `access:"experimental_features"`
|
||||||
EnableAppBar *bool `access:"experimental_features"`
|
EnableAppBar *bool `access:"experimental_features"`
|
||||||
@@ -978,10 +977,6 @@ func (s *ExperimentalSettings) SetDefaults() {
|
|||||||
s.RestrictSystemAdmin = NewBool(false)
|
s.RestrictSystemAdmin = NewBool(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
if s.CloudBilling == nil {
|
|
||||||
s.CloudBilling = NewBool(false)
|
|
||||||
}
|
|
||||||
|
|
||||||
if s.UseNewSAMLLibrary == nil {
|
if s.UseNewSAMLLibrary == nil {
|
||||||
s.UseNewSAMLLibrary = NewBool(false)
|
s.UseNewSAMLLibrary = NewBool(false)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -727,7 +727,6 @@ func (ts *TelemetryService) trackConfig() {
|
|||||||
"link_metadata_timeout_milliseconds": *cfg.ExperimentalSettings.LinkMetadataTimeoutMilliseconds,
|
"link_metadata_timeout_milliseconds": *cfg.ExperimentalSettings.LinkMetadataTimeoutMilliseconds,
|
||||||
"restrict_system_admin": *cfg.ExperimentalSettings.RestrictSystemAdmin,
|
"restrict_system_admin": *cfg.ExperimentalSettings.RestrictSystemAdmin,
|
||||||
"use_new_saml_library": *cfg.ExperimentalSettings.UseNewSAMLLibrary,
|
"use_new_saml_library": *cfg.ExperimentalSettings.UseNewSAMLLibrary,
|
||||||
"cloud_billing": *cfg.ExperimentalSettings.CloudBilling,
|
|
||||||
"enable_shared_channels": *cfg.ExperimentalSettings.EnableSharedChannels,
|
"enable_shared_channels": *cfg.ExperimentalSettings.EnableSharedChannels,
|
||||||
"enable_remote_cluster_service": *cfg.ExperimentalSettings.EnableRemoteClusterService && cfg.FeatureFlags.EnableRemoteClusterService,
|
"enable_remote_cluster_service": *cfg.ExperimentalSettings.EnableRemoteClusterService && cfg.FeatureFlags.EnableRemoteClusterService,
|
||||||
"enable_app_bar": *cfg.ExperimentalSettings.EnableAppBar,
|
"enable_app_bar": *cfg.ExperimentalSettings.EnableAppBar,
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user