From 99f0da10655bba0868d06718473b77ddbbc436de 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 --- 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(); }