trabajo-afectivo/app/jobs/checks_kb_client_visibility_job.rb

15 lines
326 B
Ruby
Raw Permalink Normal View History

# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
class ChecksKbClientVisibilityJob < ApplicationJob
include HasActiveJobLock
def lock_key
# "ChecksKbClientVisibilityJob"
self.class.name
end
def perform
Sessions.broadcast({ event: 'kb_visibility_may_have_changed' })
end
end