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: 6b8b972a440c738ac302066e3fe718b8c022ecaf (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
  end
end