Skip to content

Commit 4567d4b

Browse files
committed
Merge pull request #31 from franmomu/remove_cache_duplicated
[Extension] Remove duplicated cache lines
2 parents c733f55 + e74f06f commit 4567d4b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

DependencyInjection/BazingaGeocoderExtension.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,6 @@ public function load(array $configs, ContainerBuilder $container)
151151
$this->addProvider('maxmind', array($maxmindParams['api_key']));
152152
}
153153

154-
if (isset($config['provider']['cache'])) {
155-
$params = $config['provider']['cache'];
156-
}
157-
158154
if (isset($config['providers']['cache'])) {
159155
$params = $config['providers']['cache'];
160156
$cache = new Reference($params['adapter']);

0 commit comments

Comments
 (0)