• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/location/group.php
  • Класс: BitrixSaleLocationGroupTable
  • Вызов: GroupTable::checkGroupUsage
static function checkGroupUsage()
{
	$optValue = ConfigOption::get("sale", self::PROJECT_USES_GROUPS_OPT, '', '');
	if(!$optValue) // option is undefined, we are not sure if there are groups or not
		return self::getGroupUsage();

	return $optValue == 'Y';
}