File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Catalog/Model/Indexer/Category/Product/Action Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ public function execute(array $entityIds = [], $useTempTable = false)
111
111
$ this ->limitationByCategories = array_unique ($ this ->limitationByCategories );
112
112
$ this ->useTempTable = $ useTempTable ;
113
113
$ indexer = $ this ->indexerRegistry ->get (ProductCategoryIndexer::INDEXER_ID );
114
- $ workingState = $ this ->getWorkingState ();
114
+ $ workingState = $ this ->isWorkingState ();
115
115
116
116
if (!$ indexer ->isScheduled ()
117
117
|| ($ indexer ->isScheduled () && !$ useTempTable )
@@ -127,7 +127,7 @@ public function execute(array $entityIds = [], $useTempTable = false)
127
127
$ this ->reindex ();
128
128
129
129
// get actual state
130
- $ workingState = $ this ->getWorkingState ();
130
+ $ workingState = $ this ->isWorkingState ();
131
131
132
132
if ($ useTempTable && !$ workingState && $ indexer ->isScheduled ()) {
133
133
foreach ($ this ->storeManager ->getStores () as $ store ) {
@@ -161,7 +161,7 @@ public function execute(array $entityIds = [], $useTempTable = false)
161
161
*
162
162
* @return bool
163
163
*/
164
- private function getWorkingState () : bool
164
+ private function isWorkingState () : bool
165
165
{
166
166
$ indexer = $ this ->indexerRegistry ->get (ProductCategoryIndexer::INDEXER_ID );
167
167
$ sharedIndexer = $ this ->indexerRegistry ->get (CategoryProductIndexer::INDEXER_ID );
You can’t perform that action at this time.
0 commit comments