*/ 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(); } }