// Add hooks for shop duplication, fix homeslider duplication #PSTEST-1173
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14864 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -405,6 +405,12 @@ class AdminShopControllerCore extends AdminController
|
||||
'warehouse' => $this->l('Warehouse'),
|
||||
);
|
||||
|
||||
// Hook for duplication of shop data
|
||||
$modules_list = Hook::getHookModuleExecList('actionShopDataDuplication');
|
||||
if (is_array($modules_list) && count($modules_list) > 0)
|
||||
foreach ($modules_list as $m)
|
||||
$import_data['Module'.ucfirst($m['module'])] = Module::getModuleName($m['module']);
|
||||
|
||||
if (!$this->object->id)
|
||||
$this->fields_import_form = array(
|
||||
'radio' => array(
|
||||
|
||||
Reference in New Issue
Block a user