checks_kb_client_visibility_job.rb 326 B

1234567891011121314
  1. # Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. class ChecksKbClientVisibilityJob < ApplicationJob
  3. include HasActiveJobLock
  4. def lock_key
  5. # "ChecksKbClientVisibilityJob"
  6. self.class.name
  7. end
  8. def perform
  9. Sessions.broadcast({ event: 'kb_visibility_may_have_changed' })
  10. end
  11. end