src/PEAR/Config.php
function removeLayer($layer)
    {
        if (isset($this->configuration[$layer])) {
            $this->configuration[$layer] = array();
            return true;
        }

        return false;
    }
function removeLayer($layer)
    {
        if (isset($this->configuration[$layer])) {
            $this->configuration[$layer] = array();
            return true;
        }

        return false;
    }
Temporarily remove an entire config layer.  USE WITH CARE!

@param string config key
@param string (optional) config layer
@return bool TRUE on success, FALSE on failure

@access public