mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 03:13:38 +08:00
13 lines
165 B
Ruby
13 lines
165 B
Ruby
require_dependency 'score_calculator'
|
|
|
|
module Jobs
|
|
|
|
class CalculateViewCounts < Jobs::Base
|
|
|
|
def execute(args)
|
|
User.update_view_counts
|
|
end
|
|
|
|
end
|
|
|
|
end |