mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 23:13:48 +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 |