store($data)) { vmInfo('COM_VIRTUEMART_CONFIG_SAVED'); // Load the newly saved values into the session. VmConfig::loadConfig(); } $redir = 'index.php?option=com_virtuemart'; if(vRequest::getCmd('task') == 'apply'){ $redir = $this->redirectPath; } $this->setRedirect($redir.'&vmms=1&nosafepathcheck=1'); } /** * Overwrite the remove task * Removing config is forbidden. * @author Max Milbers */ function remove(){ vmInfo('COM_VIRTUEMART_ERROR_CONFIGS_COULD_NOT_BE_DELETED'); $this->setRedirect( $this->redirectPath ); } } //pure php no tag