2013-04-05 12:29:46 +08:00
|
|
|
module Jobs
|
|
|
|
# checks to see if any users need to be promoted
|
|
|
|
class EnsureDbConsistency < Jobs::Base
|
|
|
|
def execute(args)
|
|
|
|
TopicUser.ensure_consistency!
|
2013-04-05 14:43:48 +08:00
|
|
|
UserVisit.ensure_consistency!
|
2013-04-05 12:29:46 +08:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|