public function remove($name)
    {
        $result = $this->_queuesSet->remove($name);

        if ($result) {
            $queuesCache = $this->_getQueuesCache();

            $key = array_search($name, $queuesCache);
            unset($queuesCache[$key]);

            $this->_setQueuesCache($queuesCache);
        }

        return $result;
    }
public function remove($name)
    {
        $result = $this->_queuesSet->remove($name);

        if ($result) {
            $queuesCache = $this->_getQueuesCache();

            $key = array_search($name, $queuesCache);
            unset($queuesCache[$key]);

            $this->_setQueuesCache($queuesCache);
        }

        return $result;
    }
public function remove ( $ name ) { $ result = $ this -> _queuesSet -> remove ( $ name ) ; if ( $ result ) { $ queuesCache = $ this -> _getQueuesCache ( ) ; $ key = array_search ( $ name , $ queuesCache ) ; unset ( $ queuesCache [ $ key ] ) ; $ this -> _setQueuesCache ( $ queuesCache ) ; } return $ result ; }
Delete a queue from the queues set

@param $name
@return bool
Delete a queue from the queues set