mirror of
https://github.com/zammad/zammad
synced 2026-05-24 09:48:36 +00:00
9 lines
331 B
Ruby
9 lines
331 B
Ruby
# Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/
|
|
|
|
class SystemReport::Plugin::Channel < SystemReport::Plugin
|
|
DESCRIPTION = __('Lists active channels (e.g. 1 Telegram channel, 2 Microsoft channels and 1 Google channel)').freeze
|
|
|
|
def fetch
|
|
::Channel.where(active: true).map(&:area).tally
|
|
end
|
|
end
|