From 0b496d68a92b868f156fb1bb93ef0b7a11eccdbd Mon Sep 17 00:00:00 2001 From: dverkade Date: Tue, 27 Sep 2016 14:59:28 +0200 Subject: [PATCH] Removed setting routerlist twice. 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. --- lib/internal/Magento/Framework/App/RouterList.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/internal/Magento/Framework/App/RouterList.php b/lib/internal/Magento/Framework/App/RouterList.php index f0e8445f08e45..bbb4fc0c1d0c2 100644 --- a/lib/internal/Magento/Framework/App/RouterList.php +++ b/lib/internal/Magento/Framework/App/RouterList.php @@ -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) {