Revert "[MM-46579] Add a limit for preferences" (#22086)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6b6150d374
Коммит
1fdedf30f1
@@ -385,7 +385,6 @@ type ServiceSettings struct {
|
||||
EnableCustomGroups *bool `access:"site_users_and_teams"`
|
||||
SelfHostedPurchase *bool `access:"write_restrictable,cloud_restrictable"`
|
||||
AllowSyncedDrafts *bool `access:"site_posts"`
|
||||
ExperimentalMaxUserPreferences *int
|
||||
}
|
||||
|
||||
func (s *ServiceSettings) SetDefaults(isUpdate bool) {
|
||||
@@ -858,10 +857,6 @@ func (s *ServiceSettings) SetDefaults(isUpdate bool) {
|
||||
if s.SelfHostedPurchase == nil {
|
||||
s.SelfHostedPurchase = NewBool(true)
|
||||
}
|
||||
|
||||
if s.ExperimentalMaxUserPreferences == nil {
|
||||
s.ExperimentalMaxUserPreferences = NewInt(1000)
|
||||
}
|
||||
}
|
||||
|
||||
type ClusterSettings struct {
|
||||
|
||||
Ссылка в новой задаче
Block a user