Skip to content

Commit 3750ccd

Browse files
committed
MAGETWO-96236: [SO-3036] Bug with stock status in price indexer
1 parent 1af3db5 commit 3750ccd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/code/Magento/CatalogInventory/Model/Indexer/ProductPriceIndexFilter.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ public function __construct(
8282
* @return void
8383
*
8484
* @throws \Magento\Framework\Exception\LocalizedException
85-
* @throws \Zend_Db_Statement_Exception
8685
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
8786
*/
8887
public function modifyPrice(IndexTableStructure $priceTable, array $entityIds = [])
@@ -123,7 +122,6 @@ public function modifyPrice(IndexTableStructure $priceTable, array $entityIds =
123122
if ($productIds !== null) {
124123
$where = [$priceTable->getEntityField() .' IN (?)' => $productIds];
125124
$connection->delete($priceTable->getTableName(), $where);
126-
$productIds = null;
127125
}
128126
}
129127
}

0 commit comments

Comments
 (0)