2013-04-05 00:29:46 -04: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 02:43:48 -04:00
|
|
|
UserVisit.ensure_consistency!
|
2013-04-05 00:29:46 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|