[*] 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
This commit is contained in:
1 parent
382f4678bf
commit
2d1a1a473c
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user