mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-17 19:12:37 -05:00
FIX: Don't trigger share badge (only run daily)
too expensive, wrong trigger anyway.
This commit is contained in:
parent
71aa41ccac
commit
81c0fe2894
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue