mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05: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
|