Skip to content

Commit

Permalink
Removed instantiating new driverpool when it's already available.
Browse files Browse the repository at this point in the history
Removed instantiating new driverpool when it's already available.
  • Loading branch information
dverkade authored Aug 18, 2017
1 parent 0548157 commit bd07fb7
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 bd07fb7

Please sign in to comment.