Skip to content

Commit 5cc2a2f

Browse files
author
Bryant Luk
committed
MAGETWO-34070: Move Store di.xml config to app/etc/di.xml
- Move definition to module level to help merging and tests
1 parent 5c86201 commit 5cc2a2f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,4 +225,12 @@
225225
<argument name="httpRequest" xsi:type="object">Magento\Framework\App\Request\Http\Proxy</argument>
226226
</arguments>
227227
</type>
228+
<type name="Magento\Framework\App\FrontController">
229+
<plugin name="install" type="Magento\Framework\Module\Plugin\DbStatusValidator" sortOrder="40"/>
230+
</type>
231+
<type name="Magento\Framework\Module\Plugin\DbStatusValidator">
232+
<arguments>
233+
<argument name="cache" xsi:type="object">Magento\Framework\App\Cache\Type\Config</argument>
234+
</arguments>
235+
</type>
228236
</config>

app/etc/di.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -919,14 +919,6 @@
919919
<argument name="dataStorage" xsi:type="object">Magento\Framework\View\Layout\PageType\Config\Data</argument>
920920
</arguments>
921921
</type>
922-
<type name="Magento\Framework\App\FrontController">
923-
<plugin name="install" type="Magento\Framework\Module\Plugin\DbStatusValidator" sortOrder="40"/>
924-
</type>
925-
<type name="Magento\Framework\Module\Plugin\DbStatusValidator">
926-
<arguments>
927-
<argument name="cache" xsi:type="object">Magento\Framework\App\Cache\Type\Config</argument>
928-
</arguments>
929-
</type>
930922
<virtualType name="Magento\Framework\Message\Session\Storage" type="Magento\Framework\Session\Storage">
931923
<arguments>
932924
<argument name="namespace" xsi:type="string">message</argument>

0 commit comments

Comments
 (0)