From bfc1b96be4dc7974fb9e5b5805842433f077cbff Mon Sep 17 00:00:00 2001 From: rGaillard Date: Thu, 19 Jul 2012 16:24:59 +0000 Subject: [PATCH] // This is now not possible to delete default shop --- controllers/admin/AdminShopController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/admin/AdminShopController.php b/controllers/admin/AdminShopController.php index 6d35b8859..ba81e1476 100755 --- a/controllers/admin/AdminShopController.php +++ b/controllers/admin/AdminShopController.php @@ -35,7 +35,7 @@ class AdminShopControllerCore extends AdminController $this->className = 'Shop'; $this->multishop_context = Shop::CONTEXT_ALL; $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( 'id_shop' => array( 'title' => $this->l('ID'),