[*] FO BO MO : rename function isMultiShopActivated by isFeatureActive

This commit is contained in:
hAitmansour committed 2011-10-19 11:52:26 +00:00
1 parent 29f7a46889
commit 99f0da1065
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -269,7 +269,7 @@ class HelperCore
protected function displayAssoShop($type = 'shop') 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; return;
if ($type != 'shop' && $type != 'group_shop') if ($type != 'shop' && $type != 'group_shop')
@@ -224,7 +224,7 @@ class AdminCurrenciesControllerCore extends AdminController
'title' => $this->l(' Save '), 'title' => $this->l(' Save '),
'class' => 'button' 'class' => 'button'
), ),
'asso_shop' => Shop::isMultiShopActivated() 'asso_shop' => Shop::isFeatureActive()
); );
parent::__construct(); parent::__construct();
} }