File tree Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ public function __construct(
5454 public function execute ($ ids )
5555 {
5656 $ this ->_productStockIndexerRows ->execute ($ ids );
57- $ this ->getCacheContext ()->registerEntities (\Magento \Catalog \Model \Product::CACHE_TAG , $ ids );
5857 }
5958
6059 /**
@@ -102,6 +101,7 @@ public function executeRow($id)
102101 *
103102 * @return \Magento\Framework\Indexer\CacheContext
104103 * @deprecated 100.0.7
104+ * @see we don't add dependecies this way anymore
105105 */
106106 protected function getCacheContext ()
107107 {
Original file line number Diff line number Diff line change 1414 <table name =" catalog_product_link" entity_column =" product_id" />
1515 </subscriptions >
1616 </view >
17- <view id =" catalog_product_price" class =" Magento\Catalog\Model\Indexer\Product\Price" group =" indexer" >
18- <subscriptions >
19- <table name =" cataloginventory_stock_item" entity_column =" product_id" />
20- </subscriptions >
21- </view >
2217</config >
Original file line number Diff line number Diff line change 1515 <table name =" catalog_product_entity_varchar" entity_column =" entity_id" />
1616 <table name =" catalog_product_entity_datetime" entity_column =" entity_id" />
1717 <table name =" catalog_product_website" entity_column =" product_id" />
18- <table name =" cataloginventory_stock_item" entity_column =" product_id" />
1918 <table name =" catalog_product_bundle_selection" entity_column =" parent_product_id" />
2019 <table name =" catalog_product_super_link" entity_column =" product_id" />
2120 <table name =" catalog_product_link" entity_column =" product_id" />
You can’t perform that action at this time.
0 commit comments