protected function checkLocalCodePool()
    {
        $helper = Mage::helper('aoe_scheduler/compatibility'); /* @var $helper Aoe_Scheduler_Helper_Compatibility */
        if ($helper->oldConfigXmlExists()) {
            $this->_getSession()->addError($this->__('Looks like you have an older version of Aoe_Scheduler installed that lived in the local code pool. Please delete everything under "%s"', $helper->getLocalCodeDir()));
            return false;
        }
        return true;
    }
protected function checkLocalCodePool()
    {
        $helper = Mage::helper('aoe_scheduler/compatibility'); /* @var $helper Aoe_Scheduler_Helper_Compatibility */
        if ($helper->oldConfigXmlExists()) {
            $this->_getSession()->addError($this->__('Looks like you have an older version of Aoe_Scheduler installed that lived in the local code pool. Please delete everything under "%s"', $helper->getLocalCodeDir()));
            return false;
        }
        return true;
    }
protected function checkLocalCodePool ( ) { $ helper = Mage :: helper ( 'aoe_scheduler/compatibility' ) ; /* @var $helper Aoe_Scheduler_Helper_Compatibility */ if ( $ helper -> oldConfigXmlExists ( ) ) { $ this -> _getSession ( ) -> addError ( $ this -> __ ( 'Looks like you have an older version of Aoe_Scheduler installed that lived in the local code pool. Please delete everything under "%s"' , $ helper -> getLocalCodeDir ( ) ) ) ; return false ; } return true ; }
Aoe_Scheduler used to live in the local code pool.
When newer version are installed without removing the old files Aoe_Scheduler will produce fatal errors.
This is an attempt to handle this a little better.
Aoe_Scheduler used to live in the local code pool . When newer version are installed without removing the old files Aoe_Scheduler will produce fatal errors . This is an attempt to handle this a little better .