gitlab-org--gitlab-foss/app/workers/remove_expired_group_links_...

11 lines
214 B
Ruby

# frozen_string_literal: true
class RemoveExpiredGroupLinksWorker
include ApplicationWorker
include CronjobQueue
def perform
ProjectGroupLink.expired.destroy_all # rubocop: disable DestroyAll
end
end