mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-02 03:47:34 -05:00
9a9ad9bda8
- Refactor model so it stores backfill query - Implement autobiographer - Remove sample badge - Correct featured badges to only include a badge once
14 lines
180 B
Ruby
14 lines
180 B
Ruby
module Jobs
|
|
|
|
class BadgeGrant < Jobs::Scheduled
|
|
every 1.day
|
|
|
|
def execute(args)
|
|
Badge.all.each do |b|
|
|
BadgeGranter.backfill(b)
|
|
end
|
|
end
|
|
|
|
end
|
|
|
|
end
|