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