[+] Project : adding Features detachables in order to improve performance
// clean code
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