Skip to content

Commit

Permalink
[DoctrineMongoDBBundle] Removing unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Mar 9, 2011
1 parent 1e492e2 commit 7c13e68
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -106,7 +106,7 @@ public function load(array $configs, ContainerBuilder $container)
$container
);

$this->loadConstraints($config, $container);
$this->loadConstraints($container);
}

/**
Expand Down Expand Up @@ -339,7 +339,7 @@ protected function loadDocumentManagerBundlesMappingInformation(array $documentM
$odmConfigDef->addMethodCall('setDocumentNamespaces', array($this->aliasMap));
}

protected function loadConstraints($config, ContainerBuilder $container)
protected function loadConstraints(ContainerBuilder $container)
{
if ($container->hasParameter('validator.annotations.namespaces')) {
$container->setParameter('validator.annotations.namespaces', array_merge(
Expand Down

0 comments on commit 7c13e68

Please sign in to comment.