FIX: Hide old PM settings (#18535)

Follow up to e62e93f83a.
It's confusing and unexpected that deprecated settings
unconditionally change the new setting's value via the
`SiteSettingsController`, even if `override` was set to `false`,
a follow-up PR will correct the issue in `SiteSettingsController`.
This commit is contained in:
Martin Brennan 2022-10-11 10:13:53 +10:00 committed by GitHub
parent b02ece0bbb
commit 086f4775cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -820,6 +820,7 @@ posting:
enable_personal_messages:
default: true
client: true
hidden: true
enable_system_message_replies:
default: true
personal_message_enabled_groups:
@ -1558,6 +1559,7 @@ trust:
min_trust_to_send_messages:
default: 1
enum: "TrustLevelSetting"
hidden: true
min_trust_to_send_email_messages:
default: "4"
enum: "TrustLevelAndStaffSetting"