File manager - Edit - /home/web/vm-3fadc827.na4u.ru/www/bitrix/modules/catalog/lib/config/editionlimit.php
Back
<? namespace Bitrix\Catalog\Config; use Bitrix\Catalog; class EditionLimit { public static function isExceededPriceTypeLimit() { if (Feature::isMultiPriceTypesEnabled()) return false; //TODO: enable managed cache after blocked old api \CCatalogGroup return Catalog\GroupTable::getCount([]) > 1; } public static function isExceededStoreLimit() { if (Feature::isMultiStoresEnabled()) return false; //TODO: enable managed cache after blocked old api \CCatalogStore return Catalog\StoreTable::getCount([]) > 1; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.26 |
proxy
|
phpinfo
|
Settings