7
7
8
8
use Magento \Catalog \Model \Indexer \Product \Flat \FlatTableBuilder ;
9
9
use Magento \Catalog \Model \Indexer \Product \Flat \TableBuilder ;
10
- use Magento \Framework \EntityManager \MetadataPool ;
11
- use Magento \Catalog \Api \Data \ProductInterface ;
12
10
13
11
/**
14
12
* Class Row reindex action
@@ -24,10 +22,6 @@ class Row extends \Magento\Catalog\Model\Indexer\Product\Flat\AbstractAction
24
22
* @var Eraser
25
23
*/
26
24
protected $ flatItemEraser ;
27
- /**
28
- * @var MetadataPool
29
- */
30
- private $ metadataPool ;
31
25
32
26
/**
33
27
* @param \Magento\Framework\App\ResourceConnection $resource
@@ -38,7 +32,6 @@ class Row extends \Magento\Catalog\Model\Indexer\Product\Flat\AbstractAction
38
32
* @param FlatTableBuilder $flatTableBuilder
39
33
* @param Indexer $flatItemWriter
40
34
* @param Eraser $flatItemEraser
41
- * @param MetadataPool $metadataPool
42
35
*/
43
36
public function __construct (
44
37
\Magento \Framework \App \ResourceConnection $ resource ,
@@ -48,8 +41,7 @@ public function __construct(
48
41
TableBuilder $ tableBuilder ,
49
42
FlatTableBuilder $ flatTableBuilder ,
50
43
Indexer $ flatItemWriter ,
51
- Eraser $ flatItemEraser ,
52
- MetadataPool $ metadataPool
44
+ Eraser $ flatItemEraser
53
45
) {
54
46
parent ::__construct (
55
47
$ resource ,
@@ -61,7 +53,6 @@ public function __construct(
61
53
);
62
54
$ this ->flatItemWriter = $ flatItemWriter ;
63
55
$ this ->flatItemEraser = $ flatItemEraser ;
64
- $ this ->metadataPool = $ metadataPool ;
65
56
}
66
57
67
58
/**
0 commit comments