Skip to content

Commit b8aac93

Browse files
author
Anna Bukatar
committed
Revert "Merge branch 'ACP2E-443' of https://github.com/magento-l3/magento2ce into PR-2022-02-22"
This reverts commit a9710ae, reversing changes made to 15cf009.
1 parent 2a4a29f commit b8aac93

File tree

5 files changed

+0
-208
lines changed

5 files changed

+0
-208
lines changed

app/code/Magento/Catalog/Model/ResourceModel/GetProductTypeById.php

Lines changed: 0 additions & 52 deletions
This file was deleted.

app/code/Magento/ConfigurableProduct/Model/Inventory/ChangeParentStockStatus.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ private function processStockForParent(int $productId): void
106106
if ($this->isNeedToUpdateParent($parentStockItem, $childrenIsInStock)) {
107107
$parentStockItem->setIsInStock($childrenIsInStock);
108108
$parentStockItem->setStockStatusChangedAuto(1);
109-
$parentStockItem->setStockStatusChangedAutomaticallyFlag(true);
110109
$this->stockItemRepository->save($parentStockItem);
111110
}
112111
}

app/code/Magento/ConfigurableProduct/Model/Plugin/UpdateStockChangedAuto.php

Lines changed: 0 additions & 45 deletions
This file was deleted.

app/code/Magento/ConfigurableProduct/Test/Unit/Model/Plugin/UpdateStockChangedAutoTest.php

Lines changed: 0 additions & 107 deletions
This file was deleted.

app/code/Magento/ConfigurableProduct/etc/di.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,4 @@
280280
<argument name="serializer" xsi:type="object">Magento\Framework\Serialize\Serializer\Json</argument>
281281
</arguments>
282282
</type>
283-
<type name="Magento\CatalogInventory\Model\ResourceModel\Stock\Item">
284-
<plugin name="updateStockChangedAuto" type="Magento\ConfigurableProduct\Model\Plugin\UpdateStockChangedAuto" />
285-
</type>
286283
</config>

0 commit comments

Comments
 (0)