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