FEATURE: add new user option skip_new_user_tips. (#10437)

And add new site setting `default_other_skip_new_user_tips` in user preferences category.
This commit is contained in:
Vinoth Kannan
2020-08-14 19:10:56 +05:30
committed by GitHub
parent 6287c8e171
commit 476d26159a
19 changed files with 42 additions and 8 deletions

View File

@ -57,6 +57,7 @@ class UserOption < ActiveRecord::Base
self.enable_defer = SiteSetting.default_other_enable_defer
self.external_links_in_new_tab = SiteSetting.default_other_external_links_in_new_tab
self.dynamic_favicon = SiteSetting.default_other_dynamic_favicon
self.skip_new_user_tips = SiteSetting.default_other_skip_new_user_tips
self.new_topic_duration_minutes = SiteSetting.default_other_new_topic_duration_minutes
self.auto_track_topics_after_msecs = SiteSetting.default_other_auto_track_topics_after_msecs