1234567891011121314151617 |
- # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
- module ChecksKbClientVisibility
- extend ActiveSupport::Concern
- included do
- after_commit :notify_kb_client_visibility
- end
- private
- def notify_kb_client_visibility
- return if self.class.notify_kb_clients_suspend?
- ChecksKbClientVisibilityJob.perform_later
- end
- end
|