mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 11:32:24 -05:00
a2cca2540e
fix issue where days_visited was totally out of sync
9 lines
216 B
Ruby
9 lines
216 B
Ruby
module Jobs
|
|
# checks to see if any users need to be promoted
|
|
class EnsureDbConsistency < Jobs::Base
|
|
def execute(args)
|
|
TopicUser.ensure_consistency!
|
|
UserVisit.ensure_consistency!
|
|
end
|
|
end
|
|
end
|