Skip to content

Commit

Permalink
MAGETWO-66767: Removed unused variable $routerId #6840
Browse files Browse the repository at this point in the history
  • Loading branch information
vrann authored Mar 25, 2017
2 parents 0df6c90 + 84649e8 commit 34879e8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
5 changes: 0 additions & 5 deletions app/code/Magento/Backend/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@
</argument>
</arguments>
</type>
<type name="Magento\Backend\App\Router">
<arguments>
<argument name="routerId" xsi:type="string">admin</argument>
</arguments>
</type>
<type name="Magento\Backend\Model\Menu\Config">
<arguments>
<argument name="menuDirector" xsi:type="object">Magento\Backend\Model\Menu\Director\Director</argument>
Expand Down
5 changes: 0 additions & 5 deletions app/code/Magento/Store/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -276,11 +276,6 @@
<argument name="cache" xsi:type="object">Magento\Framework\App\Cache\Type\Config</argument>
</arguments>
</type>
<type name="Magento\Framework\App\Router\Base">
<arguments>
<argument name="routerId" xsi:type="string">standard</argument>
</arguments>
</type>
<type name="Magento\Framework\Stdlib\DateTime\Timezone">
<arguments>
<argument name="defaultTimezonePath" xsi:type="const">Magento\Directory\Helper\Data::XML_PATH_DEFAULT_TIMEZONE</argument>
Expand Down
2 changes: 0 additions & 2 deletions lib/internal/Magento/Framework/App/Router/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ class Base implements \Magento\Framework\App\RouterInterface
* @param \Magento\Framework\App\ResponseFactory $responseFactory
* @param \Magento\Framework\App\Route\ConfigInterface $routeConfig
* @param \Magento\Framework\UrlInterface $url
* @param string $routerId
* @param \Magento\Framework\Code\NameBuilder $nameBuilder
* @param \Magento\Framework\App\Router\PathConfigInterface $pathConfig
*
Expand All @@ -131,7 +130,6 @@ public function __construct(
\Magento\Framework\App\ResponseFactory $responseFactory,
\Magento\Framework\App\Route\ConfigInterface $routeConfig,
\Magento\Framework\UrlInterface $url,
$routerId,
\Magento\Framework\Code\NameBuilder $nameBuilder,
\Magento\Framework\App\Router\PathConfigInterface $pathConfig
) {
Expand Down

0 comments on commit 34879e8

Please sign in to comment.