Skip to content

Commit 6844187

Browse files
author
Oleksandr Iegorov
committed
MAGETWO-96242: High Database Load for Sales Rule Validation
1 parent d521015 commit 6844187

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/code/Magento/SalesRule/Model/ResourceModel/Rule/Collection.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ public function setValidationFilter(
216216
$selectClone = clone $select;
217217

218218
$select->where(
219-
//$noCouponWhereCondition . ' OR ((' . $orWhereCondition . ') AND ' . $andWhereCondition . ')',
220219
'(' . $orWhereCondition . ') AND ' . $andWhereCondition,
221220
null,
222221
Select::TYPE_CONDITION

0 commit comments

Comments
 (0)