[+] Project : adding Features detachables in order to improve performance
// clean code
This commit is contained in:
1 parent
a4491c9897
commit
230bebc7c7
51 files changed
+1081
-419
No files matched your search
@@ -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