ZF-1461: Deprecated method Zend_Config::toArray() still in use

Description

In {{Zend_Config.php}},

please update the code of method {{Zend_Config::asArray()}} to no use deprecated method {{toArray()}} anymore (line 158 ZFRC1).


    public function toArray()
    {
        $array = array();
        foreach ($this->_data as $key => $value) {
            if (is_object($value)) {
                $array[$key] = $value->asArray();   <----- must be $array[$key] = $value->toArray();
            } else {
                $array[$key] = $value;
            }
        }
        return $array;
    }

Comments

Resolved in SVN 5062