// Refactoring: remove $token arg from process functions

This commit is contained in:
tDidierjean committed 2012-03-26 15:25:36 +00:00
1 parent e4cfe2e688
commit 98aa77ef24
19 files changed
+145 -199

No files matched your search

@@ -89,9 +89,9 @@ class AdminCartRulesControllerCore extends AdminController
$this->afterAdd($current_object);
}
public function processAdd($token)
public function processAdd()
{
if ($cart_rule = parent::processAdd($token))
if ($cart_rule = parent::processAdd())
$this->context->smarty->assign('new_cart_rule', $cart_rule);
if (Tools::getValue('submitFormAjax'))
$this->redirect_after = false;