Skip to content

Commit

Permalink
Removed setting routerlist twice.
Browse files Browse the repository at this point in the history
Removed line, because $this->routerList is always set by the function below the line removed. Setting the routerList was always called twice, so removed one line to fix this.
  • Loading branch information
dverkade committed Oct 26, 2016
1 parent bd1655b commit 0b496d6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/internal/Magento/Framework/App/RouterList.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class RouterList implements RouterListInterface
public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, array $routerList)
{
$this->objectManager = $objectManager;
$this->routerList = $routerList;
$this->routerList = array_filter(
$routerList,
function ($item) {
Expand Down

0 comments on commit 0b496d6

Please sign in to comment.