Welcome to mirror list, hosted at ThFree Co, Russian Federation.

remove_expired_group_links_worker.rb « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 25128caf72fa6d18356f5ae48cd56b28a844e28b (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

class RemoveExpiredGroupLinksWorker
  include ApplicationWorker
  include CronjobQueue

  def perform
    ProjectGroupLink.expired.destroy_all # rubocop: disable DestroyAll
  end
end