mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 19:08:10 -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
|