Skip to content

Commit

Permalink
[PARA-1797] Remove AppAreaListPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen van Leusden committed Jun 8, 2021
1 parent 1f49f9f commit 1f30e3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 91 deletions.
84 changes: 0 additions & 84 deletions src/Plugin/AppAreaListPlugin.php

This file was deleted.

10 changes: 3 additions & 7 deletions src/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,20 @@
<preference for="Magento\Store\Api\StoreResolverInterface" type="Ho\StoreResolver\Model\StoreResolver"/>
<preference for="Magento\Framework\App\Response\RedirectInterface" type="Ho\StoreResolver\Model\AppResponseRedirect" />

<type name="Magento\Framework\App\AreaList">
<plugin name="hoStoreResolverAreaList" type="Ho\StoreResolver\Plugin\AppAreaListPlugin"/>
</type>
<type name="Magento\Framework\Data\Helper\PostHelper">
<plugin name="reach" type="Ho\StoreResolver\Plugin\PostHelperPlugin"/>
</type>

<type name="Magento\Store\App\Request\PathInfoProcessor">
<plugin name="reachDigitalTrimBaseUrlFromPathInfo" type="Ho\StoreResolver\Plugin\TrimBaseUrlFromPathInfo"/>
</type>
<type name="Amasty\ShopbySeo\Helper\Data">
<plugin name="hoStoreResolverAmastyShopbySeoCompatibility" type="Ho\StoreResolver\Plugin\FixSeoUrlParsing"/>
</type>

<type name="Ho\StoreResolver\Model\StoreResolver">
<arguments>
<argument name="cache" xsi:type="object">Magento\Framework\App\Cache\Type\Config</argument>
</arguments>
</type>

<type name="Amasty\ShopbySeo\Helper\Data">
<plugin name="hoStoreResolverAmastyShopbySeoCompatibility" type="Ho\StoreResolver\Plugin\FixSeoUrlParsing"/>
</type>
</config>

0 comments on commit 1f30e3d

Please sign in to comment.