Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
editionlimit.php
1<?
3
5
7{
8 public static function isExceededPriceTypeLimit()
9 {
11 return false;
12
13 //TODO: enable managed cache after blocked old api \CCatalogGroup
14 return Catalog\GroupTable::getCount([]) > 1;
15 }
16
17 public static function isExceededStoreLimit()
18 {
20 return false;
21
22 //TODO: enable managed cache after blocked old api \CCatalogStore
23 return Catalog\StoreTable::getCount([]) > 1;
24 }
25}