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(
54
54
public function execute ($ ids )
55
55
{
56
56
$ this ->_productStockIndexerRows ->execute ($ ids );
57
- $ this ->getCacheContext ()->registerEntities (\Magento \Catalog \Model \Product::CACHE_TAG , $ ids );
58
57
}
59
58
60
59
/**
@@ -102,6 +101,7 @@ public function executeRow($id)
102
101
*
103
102
* @return \Magento\Framework\Indexer\CacheContext
104
103
* @deprecated 100.0.7
104
+ * @see we don't add dependecies this way anymore
105
105
*/
106
106
protected function getCacheContext ()
107
107
{
Original file line number Diff line number Diff line change 14
14
<table name =" catalog_product_link" entity_column =" product_id" />
15
15
</subscriptions >
16
16
</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 >
22
17
</config >
Original file line number Diff line number Diff line change 15
15
<table name =" catalog_product_entity_varchar" entity_column =" entity_id" />
16
16
<table name =" catalog_product_entity_datetime" entity_column =" entity_id" />
17
17
<table name =" catalog_product_website" entity_column =" product_id" />
18
- <table name =" cataloginventory_stock_item" entity_column =" product_id" />
19
18
<table name =" catalog_product_bundle_selection" entity_column =" parent_product_id" />
20
19
<table name =" catalog_product_super_link" entity_column =" product_id" />
21
20
<table name =" catalog_product_link" entity_column =" product_id" />
You can’t perform that action at this time.
0 commit comments