library/Rediska/PubSub/Connections.php
public function removeChannel($channel)
    {
        $connection = $this->getConnectionByChannelName($channel);

        $key = array_search($channel, $this->_channelsByConnections[$connection->getAlias()]);
        unset($this->_channelsByConnections[$connection->getAlias()][$key]);

        if (empty($this->_channelsByConnections[$connection->getAlias()])) {
            unset($this->_channelsByConnections[$connection->getAlias()]);
            unset($this->_connections[$connection->getAlias()]);

            // If only one - move to blocking mode
            if (count($this->_connections) == 1) {
                foreach($this->_connections as $connection) {
                    if (!$connection->getOption('blockingMode')) {
                        $connection->setOption('blockingMode', true);
                    }
                }
            }
        }

        return $connection;
    }
public function removeChannel($channel)
    {
        $connection = $this->getConnectionByChannelName($channel);

        $key = array_search($channel, $this->_channelsByConnections[$connection->getAlias()]);
        unset($this->_channelsByConnections[$connection->getAlias()][$key]);

        if (empty($this->_channelsByConnections[$connection->getAlias()])) {
            unset($this->_channelsByConnections[$connection->getAlias()]);
            unset($this->_connections[$connection->getAlias()]);

            // If only one - move to blocking mode
            if (count($this->_connections) == 1) {
                foreach($this->_connections as $connection) {
                    if (!$connection->getOption('blockingMode')) {
                        $connection->setOption('blockingMode', true);
                    }
                }
            }
        }

        return $connection;
    }
Remove channel

@param string $channel
@return Rediska_Connection