2022-01-01 13:38:12 +00:00
|
|
|
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
|
2021-06-01 12:20:20 +00:00
|
|
|
|
2019-01-15 13:11:57 +00:00
|
|
|
class Channel::Driver::Null
|
|
|
|
def fetchable?(_channel)
|
|
|
|
false
|
|
|
|
end
|
|
|
|
|
2021-07-06 07:52:22 +00:00
|
|
|
def fetch(...)
|
2019-01-15 13:11:57 +00:00
|
|
|
{
|
|
|
|
result: 'ok',
|
|
|
|
fetched: 0,
|
|
|
|
notice: '',
|
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
def disconnect
|
|
|
|
true
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.streamable?
|
|
|
|
false
|
|
|
|
end
|
|
|
|
end
|