Skip to content

Commit 62bb10d

Browse files
author
Oleksandr Iegorov
committed
MC-21948: Products index data delete process fires before indexation instead of right before insert indexed data to index tables during partial reindex
1 parent 52e42fb commit 62bb10d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

app/code/Magento/Catalog/Model/Category.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1356,9 +1356,6 @@ public function getChildrenData()
13561356
return $this->getData(self::KEY_CHILDREN_DATA);
13571357
}
13581358

1359-
//@codeCoverageIgnoreEnd
1360-
1361-
//phpcs:disable Magento2.FunctionNameRestrictions.MethodDoubleUnderscore
13621359
/**
13631360
* Return Data Object data in array format.
13641361
*
@@ -1367,7 +1364,6 @@ public function getChildrenData()
13671364
*/
13681365
public function __toArray()
13691366
{
1370-
//phpcs:enable Magento2.FunctionNameRestrictions.MethodDoubleUnderscore
13711367
$data = $this->_data;
13721368
$hasToArray = function ($model) {
13731369
return is_object($model) && method_exists($model, '__toArray') && is_callable([$model, '__toArray']);
@@ -1387,6 +1383,8 @@ public function __toArray()
13871383
return $data;
13881384
}
13891385

1386+
//@codeCoverageIgnoreEnd
1387+
13901388
/**
13911389
* Convert Category model into flat array.
13921390
*

0 commit comments

Comments
 (0)