[*] FO BO MO : rename function isMultiShopActivated by isFeatureActive
This commit is contained in:
+1
-1
@@ -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')
|
||||
|
||||
@@ -224,7 +224,7 @@ class AdminCurrenciesControllerCore extends AdminController
|
||||
'title' => $this->l(' Save '),
|
||||
'class' => 'button'
|
||||
),
|
||||
'asso_shop' => Shop::isMultiShopActivated()
|
||||
'asso_shop' => Shop::isFeatureActive()
|
||||
);
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user