Skip to content

Commit

Permalink
- Removed restore_quote event observer, which caused Magento to rever…
Browse files Browse the repository at this point in the history
…t stock twice.
  • Loading branch information
dverkade committed Jan 2, 2018
1 parent bce891d commit 1055076
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/code/Magento/CatalogInventory/etc/events.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
<event name="sales_model_service_quote_submit_failure">
<observer name="inventory" instance="Magento\CatalogInventory\Observer\RevertQuoteInventoryObserver"/>
</event>
<event name="restore_quote">
<observer name="inventory" instance="Magento\CatalogInventory\Observer\RevertQuoteInventoryObserver"/>
</event>
<event name="sales_order_item_cancel">
<observer name="inventory" instance="Magento\CatalogInventory\Observer\CancelOrderItemObserver"/>
</event>
Expand Down

0 comments on commit 1055076

Please sign in to comment.