discourse/lib/jobs/calculate_view_counts.rb

13 lines
165 B
Ruby
Raw Normal View History

2013-02-05 14:16:51 -05:00
require_dependency 'score_calculator'
module Jobs
class CalculateViewCounts < Jobs::Base
def execute(args)
User.update_view_counts
end
end
end