From 00ae6f21d987c8cf26946df7e61f3863c67febe0 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 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16499 b9a71923-0436-4b27-9f14-aed3839534dd --- 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'),