[+] Project : adding Features detachables in order to improve performance
// clean code git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8328 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -637,6 +637,9 @@ class FrontControllerCore
|
||||
|
||||
public static function getCurrentCustomerGroups()
|
||||
{
|
||||
if (!Group::isFeatureActive())
|
||||
return array();
|
||||
|
||||
$context = Context::getContext();
|
||||
if (!$context->customer->id)
|
||||
return array();
|
||||
|
||||
Reference in New Issue
Block a user