Files
fizzy/app/jobs/card/clean_inaccessible_data_job.rb
T
Rosa Gutierrez ee636f1994 Delete orphaned watches and pins when a card is moved to a private board
For watchers and users with pins that don't have access to the private
board where the card was moved to.
2026-01-14 19:38:15 +01:00

8 lines
163 B
Ruby

class Card::CleanInaccessibleDataJob < ApplicationJob
discard_on ActiveJob::DeserializationError
def perform(card)
card.clean_inaccessible_data
end
end