summaryrefslogtreecommitdiff
path: root/app/workers/remove_expired_group_links_worker.rb
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