mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 08:09:33 +08:00
ede73f923f
We have one site setting, `auto_silence_fast_typers_max_trust_level`, which expects a trust level. However, the type is set to integer, which makes it very hard for a layman to enter the correct thing. This PR changes the type of the site setting to the `TrustLevelSetting` enum. The use of these are interchangeable in the back-end, since `SiteSetting.auto_silence_fast_typers_max_trust_level` still returns the integer value with the enum. |
||
---|---|---|
.. | ||
fixtures | ||
migrate | ||
post_migrate | ||
api_test_seeds.rb |