Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
use findDefinition()
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectricMaxxx committed Feb 15, 2015
1 parent b2168fb commit b405b12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DependencyInjection/CmfSeoExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,13 @@ private function loadAlternateLocaleProvider($config, ContainerBuilder $containe
->findDefinition('cmf_seo.event_listener.seo_content')
->addMethodCall(
'setAlternateLocaleProvider',
array($container->getDefinition($alternateLocaleProvider))
array($container->findDefinition($alternateLocaleProvider))
);
$container
->findDefinition('cmf_seo.sitemap.phpcr_provider')
->addMethodCall(
'setAlternateLocaleProvider',
array($container->getDefinition($alternateLocaleProvider))
array($container->findDefinition($alternateLocaleProvider))
);
} catch(\Exception $e) {

Expand Down

0 comments on commit b405b12

Please sign in to comment.