// Restore shop context in shop list and can filter shop pages per group shop
This commit is contained in:
@@ -689,16 +689,6 @@ class ShopCore extends ObjectModel
|
||||
return self::$context_id_group_shop;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get ID shop from context
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public static function getContextGroupID()
|
||||
{
|
||||
return Shop::getContext('group');
|
||||
}
|
||||
|
||||
/**
|
||||
* Add an sql restriction for shops fields
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user