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: 147b412b7721564d0fe4664dd7da059636c01907 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

class RemoveExpiredGroupLinksWorker
  include ApplicationWorker
  include CronjobQueue

  feature_category :authentication_and_authorization

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