discourse/lib/jobs/ensure_db_consistency.rb

9 lines
180 B
Ruby
Raw Normal View History

module Jobs
# checks to see if any users need to be promoted
class EnsureDbConsistency < Jobs::Base
def execute(args)
TopicUser.ensure_consistency!
end
end
end