Skip to content

Commit 4475965

Browse files
author
Bohdan Berezhniy
committed
optimize the performance of SQL validator
1 parent 19de386 commit 4475965

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Model/ProductLabelAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
use Magefan\ProductLabel\Model\ResourceModel\Rule\CollectionFactory as RuleCollectionFactory;
1212
use Magefan\ProductLabel\Model\CacheManager;
13-
use Magento\Catalog\Model\ResourceModel\Product\CollectionFactory as ProductCollectionFactory;
13+
use Magefan\Community\Model\Magento\Product\CollectionOptimizedForSqlValidatorFactory as ProductCollectionFactory;
1414
use Magento\CatalogRule\Model\RuleFactory as CatalogRuleFactory;
1515
use Magento\Framework\App\ResourceConnection;
1616
use Magefan\Community\Model\Magento\Rule\Model\Condition\Sql\Builder as SqlBuilder;

0 commit comments

Comments
 (0)