mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 22:16:17 +08:00
a2cca2540e
fix issue where days_visited was totally out of sync
10 lines
216 B
Ruby
10 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
|