*/ class Mage_Adminhtml_TaxController extends Mage_Adminhtml_Controller_Action { /** * Set tax ignore notification flag and redirect back */ public function ignoreTaxNotificationAction() { $section = $this->getRequest()->getParam('section'); if ($section) { try { $path = 'tax/ignore_notification/' . $section; Mage::getModel('core/config')->saveConfig($path, 1); Mage::getConfig()->reinit(); } catch (Exception $e) { Mage::getSingleton('adminhtml/session')->addError($e->getMessage()); } } $this->_redirectReferer(); } /** * Check is allowed access to action * * @return bool */ protected function _isAllowed() { return true; } }