mirror of
https://github.com/discourse/discourse.git
synced 2024-12-03 03:43:40 +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
|