protected function initUpgradeFile()
    {
        touch($this->upgradeFile);
        $this->_info = new \Zend_Config_Ini($this->upgradeFile, null, array('allowModifications' => true));
        
        foreach(array_keys($this->_upgradeStack) as $context) {
            $maxLevel = $this->getMaxLevel($context);
            $this->setLevel($context, $maxLevel, true);
        }
    }
protected function initUpgradeFile()
    {
        touch($this->upgradeFile);
        $this->_info = new \Zend_Config_Ini($this->upgradeFile, null, array('allowModifications' => true));
        
        foreach(array_keys($this->_upgradeStack) as $context) {
            $maxLevel = $this->getMaxLevel($context);
            $this->setLevel($context, $maxLevel, true);
        }
    }
protected function initUpgradeFile ( ) { touch ( $ this -> upgradeFile ) ; $ this -> _info = new \ Zend_Config_Ini ( $ this -> upgradeFile , null , array ( 'allowModifications' => true ) ) ; foreach ( array_keys ( $ this -> _upgradeStack ) as $ context ) { $ maxLevel = $ this -> getMaxLevel ( $ context ) ; $ this -> setLevel ( $ context , $ maxLevel , true ) ; } }
When upgrade file does not exist, create it and default to the max
level since no upgrades should be needed after a clean install
When upgrade file does not exist create it and default to the max level since no upgrades should be needed after a clean install