// Replace public by protected in override methods

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13022 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2012-02-06 13:41:51 +00:00
parent a239000042
commit 96c8e763b9
12 changed files with 18 additions and 18 deletions
@@ -72,7 +72,7 @@ class AdminCartRulesControllerCore extends AdminController
return parent::postProcess();
}
public function afterUpdate($current_object)
protected function afterUpdate($current_object)
{
// All the associations are deleted for an update, then recreated when we call the "afterAdd" method
$id_cart_rule = Tools::getValue('id_cart_rule');
@@ -86,7 +86,7 @@ class AdminCartRulesControllerCore extends AdminController
}
/* @TODO Move this function into CartRule */
public function afterAdd($currentObject)
protected function afterAdd($currentObject)
{
// Add restrictions for generic entities like country, carrier and group
foreach (array('country', 'carrier', 'group') as $type)