From 2d1a1a473c8c1c551fe28a30f11a25402d390ca2 Mon Sep 17 00:00:00 2001 From: hAitmansour Date: Wed, 19 Oct 2011 11:52:26 +0000 Subject: [PATCH] [*] FO BO MO : rename function isMultiShopActivated by isFeatureActive git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9449 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Helper.php | 2 +- controllers/admin/AdminCurrenciesController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/Helper.php b/classes/Helper.php index ac077592f..b7f823c62 100755 --- a/classes/Helper.php +++ b/classes/Helper.php @@ -269,7 +269,7 @@ class HelperCore protected function displayAssoShop($type = 'shop') { - if (!Shop::isMultiShopActivated() || (!$this->id && $this->context->shop->getContextType() != Shop::CONTEXT_ALL)) + if (!Shop::isFeatureActive() || (!$this->id && $this->context->shop->getContextType() != Shop::CONTEXT_ALL)) return; if ($type != 'shop' && $type != 'group_shop') diff --git a/controllers/admin/AdminCurrenciesController.php b/controllers/admin/AdminCurrenciesController.php index ca19b1125..d646013e7 100644 --- a/controllers/admin/AdminCurrenciesController.php +++ b/controllers/admin/AdminCurrenciesController.php @@ -224,7 +224,7 @@ class AdminCurrenciesControllerCore extends AdminController 'title' => $this->l(' Save '), 'class' => 'button' ), - 'asso_shop' => Shop::isMultiShopActivated() + 'asso_shop' => Shop::isFeatureActive() ); parent::__construct(); }