// This is now not possible to delete default shop
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16499 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
9273c14e87
commit
00ae6f21d9
1 file changed
+1
-1
@@ -35,7 +35,7 @@ class AdminShopControllerCore extends AdminController
|
|||||||
$this->className = 'Shop';
|
$this->className = 'Shop';
|
||||||
$this->multishop_context = Shop::CONTEXT_ALL;
|
$this->multishop_context = Shop::CONTEXT_ALL;
|
||||||
$this->id_shop_group = Tools::getValue('id_shop_group');
|
$this->id_shop_group = Tools::getValue('id_shop_group');
|
||||||
|
$this->list_skip_actions['delete'] = array((int)Configuration::get('PS_SHOP_DEFAULT'));
|
||||||
$this->fields_list = array(
|
$this->fields_list = array(
|
||||||
'id_shop' => array(
|
'id_shop' => array(
|
||||||
'title' => $this->l('ID'),
|
'title' => $this->l('ID'),
|
||||||
|
|||||||
Reference in new issue
Block a user