Ejemplo n.º 1
0
 /**
  * Different versions have
  * different config options
  *
  * @return bool
  */
 public function isEnabled()
 {
     if (version_compare($this->_getVersion(), '3.3.0', '>=')) {
         return parent::isEnabled();
     }
     $val = Mage::getStoreConfig('payone_general/global/key');
     return !empty($val);
 }