Skip to content

Instantly share code, notes, and snippets.

@ydenyshchenk
Created February 2, 2017 10:18
Show Gist options
  • Save ydenyshchenk/7860f134c82e673de63e937af3b1c5bb to your computer and use it in GitHub Desktop.
Save ydenyshchenk/7860f134c82e673de63e937af3b1c5bb to your computer and use it in GitHub Desktop.
--- vendor/magento/module-scalable-checkout/etc/di.xml 2016-12-09 07:24:58.000000000 +0200
+++ vendor/magento/module-scalable-checkout/etc/di.xml 2017-02-02 12:08:20.000000000 +0200
@@ -6,9 +6,12 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
+<!--
<preference for="Magento\Framework\ForeignKey\ConfigInterface" type="Magento\Framework\ForeignKey\Config" />
<preference for="Magento\Framework\ForeignKey\ConstraintInterface" type="\Magento\Framework\ForeignKey\Constraint" />
+-->
<preference for="Magento\Quote\Model\Product\QuoteItemsCleanerInterface" type="Magento\ScalableCheckout\Model\Product\QuoteItemsCleaner" />
+<!--
<type name="Magento\Framework\ForeignKey\ConstraintProcessor">
<arguments>
<argument name="strategies" xsi:type="array">
@@ -26,6 +29,7 @@
<type name="Magento\Framework\Model\ResourceModel\Db\ObjectRelationProcessor">
<plugin name="object_constraints_resolver" type="Magento\Framework\ForeignKey\ObjectRelationProcessor\Plugin" />
</type>
+-->
<type name="Magento\Quote\Model\ResourceModel\Quote\Item">
<arguments>
<argument name="connectionName" xsi:type="string">checkout</argument>
--- vendor/magento/module-scalable-oms/etc/di.xml 2016-10-11 10:30:14.000000000 +0300
+++ vendor/magento/module-scalable-oms/etc/di.xml 2017-02-02 12:08:20.000000000 +0200
@@ -6,6 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
+<!--
<preference for="Magento\Framework\ForeignKey\ConfigInterface" type="Magento\Framework\ForeignKey\Config" />
<preference for="Magento\Framework\ForeignKey\ConstraintInterface" type="Magento\Framework\ForeignKey\Constraint" />
<type name="Magento\Framework\ForeignKey\ConstraintProcessor">
@@ -25,6 +26,7 @@
<type name="Magento\Framework\Model\ResourceModel\Db\ObjectRelationProcessor">
<plugin name="object_constraints_resolver" type="Magento\Framework\ForeignKey\ObjectRelationProcessor\Plugin" />
</type>
+-->
<type name="Magento\Framework\Console\CommandListInterface">
<arguments>
<argument name="commands" xsi:type="array">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment