mirror of
https://github.com/discourse/discourse.git
synced 2024-12-26 00:03:44 +08:00
7f7ef60a7b
Why this change? When a site's default locale is changed, Discobot's `UserProfile#bio_raw` is not changed and we have gotten reports about this. What does this change do? This change adds a `DiscourseEvent.on(:site_setting_changed)` callback which watches for changes to the `default_locale` site setting and updates Discobot's `UserProfile#bio_raw` when it changes. |
||
---|---|---|
.. | ||
certificate_generator_spec.rb | ||
site_setting_spec.rb |