// 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
+2 -2
View File
@@ -217,14 +217,14 @@ class AdminShopControllerCore extends AdminController
return false;
}
public function afterAdd($new_shop)
protected function afterAdd($new_shop)
{
if (Tools::getValue('useImportData') && ($import_data = Tools::getValue('importData')) && is_array($import_data))
$new_shop->copyShopData((int)Tools::getValue('importFromShop'), $import_data);
return parent::afterAdd($new_shop);
}
public function afterUpdate($new_shop)
protected function afterUpdate($new_shop)
{
Category::updateFromShop(Tools::getValue('categoryBox'), $new_shop->id);
if (Tools::getValue('useImportData') && ($import_data = Tools::getValue('importData')) && is_array($import_data))