mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 06:23:38 +08:00
FIX: Don't trigger share badge (only run daily)
too expensive, wrong trigger anyway.
This commit is contained in:
parent
71aa41ccac
commit
81c0fe2894
|
@ -140,7 +140,8 @@ Badge.seed do |b|
|
||||||
b.show_posts = true
|
b.show_posts = true
|
||||||
b.query = Badge::Queries::FirstShare
|
b.query = Badge::Queries::FirstShare
|
||||||
b.default_badge_grouping_id = BadgeGrouping::GettingStarted
|
b.default_badge_grouping_id = BadgeGrouping::GettingStarted
|
||||||
b.trigger = Badge::Trigger::PostRevision
|
# don't trigger for now, its too expensive
|
||||||
|
b.trigger = Badge::Trigger::None
|
||||||
end
|
end
|
||||||
|
|
||||||
Badge.seed do |b|
|
Badge.seed do |b|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user