// Refactoring: remove $token arg from process functions

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14269 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2012-03-26 15:25:36 +00:00
parent 78688fffe5
commit d752b192f5
19 changed files with 145 additions and 199 deletions
@@ -268,10 +268,9 @@ class AdminSpecificPriceRuleControllerCore extends AdminController
return parent::renderForm();
}
public function processSave($token)
public function processSave()
{
$conditions = array();
if (Validate::isLoadedObject(($object = parent::processSave($token))))
if (Validate::isLoadedObject(($object = parent::processSave())))
{
$object->deleteConditions();
foreach ($_POST as $key => $values)