mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
Migrate score settings to use sensitivities
We hide scores so these settings no longer made sense.
This commit is contained in:
@ -1373,7 +1373,7 @@ class Topic < ActiveRecord::Base
|
||||
.pluck("COUNT(DISTINCT reviewable_scores.user_id), COALESCE(SUM(reviewable_scores.score), 0.0)")
|
||||
.first
|
||||
|
||||
scores[0] >= SiteSetting.num_flaggers_to_close_topic && scores[1] >= SiteSetting.score_to_auto_close_topic
|
||||
scores[0] >= SiteSetting.num_flaggers_to_close_topic && scores[1] >= Reviewable.score_to_auto_close_topic
|
||||
end
|
||||
|
||||
def update_category_topic_count_by(num)
|
||||
|
Reference in New Issue
Block a user