// 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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user