Skip to content

Commit

Permalink
MAGETWO-71743: Removed instantiating new driverpool class when it's a…
Browse files Browse the repository at this point in the history
…lready available. #10590
  • Loading branch information
ishakhsuvarov authored Aug 19, 2017
2 parents adb30ab + fff2c71 commit ea06647
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ protected function _loadPrimaryConfig(DirectoryList $directoryList, $driverPool,
new \Magento\Framework\Filesystem\Directory\WriteFactory($driverPool)
),
new \Magento\Framework\Config\FileIteratorFactory(
new \Magento\Framework\Filesystem\File\ReadFactory(new \Magento\Framework\Filesystem\DriverPool())
new \Magento\Framework\Filesystem\File\ReadFactory($driverPool)
)
);
$schemaLocator = new \Magento\Framework\ObjectManager\Config\SchemaLocator();
Expand Down

0 comments on commit ea06647

Please sign in to comment.