File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
app/code/Magento/Indexer/Model Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -85,18 +85,7 @@ public function reindexAllInvalid()
85
85
// Skip indexers having shared index that was already complete
86
86
$ sharedIndex = $ indexerConfig ['shared_index ' ] ?? null ;
87
87
if (!in_array ($ sharedIndex , $ this ->sharedIndexesComplete )) {
88
- if (!empty ($ sharedIndex )) {
89
- $ sharedIndexer = $ this ->indexerFactory ->create ()->load ($ sharedIndex );
90
- if ($ sharedIndexer ->getView ()->isEnabled ()) {
91
- $ sharedIndexer ->getView ()->suspend ();
92
- }
93
- }
94
88
$ indexer ->reindexAll ();
95
- if (!empty ($ sharedIndex )) {
96
- if ($ sharedIndexer ->getView ()->isEnabled ()) {
97
- $ sharedIndexer ->getView ()->resume ();
98
- }
99
- }
100
89
101
90
if (!empty ($ sharedIndex ) && $ this ->makeSharedValid ->execute ($ sharedIndex )) {
102
91
$ this ->sharedIndexesComplete [] = $ sharedIndex ;
You can’t perform that action at this time.
0 commit comments