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

Commit

Permalink
remove duplicated code
Browse files Browse the repository at this point in the history
  • Loading branch information
Reto Ryter committed Mar 15, 2013
1 parent bc85342 commit 6aeacfb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions DependencyInjection/SymfonyCmfBlockExtension.php
Expand Up @@ -68,10 +68,6 @@ public function load(array $configs, ContainerBuilder $container)
$container->setParameter($this->getAlias() . '.' . 'action_admin_class', $config['action_admin_class']);
}

if (isset($config['action_admin_class'])) {
$container->setParameter($this->getAlias() . '.' . 'action_admin_class', $config['action_admin_class']);
}

$blockLoader = $container->getDefinition('symfony_cmf.block.service');
$blockLoader->replaceArgument(1, $config['document_manager_name']);

Expand Down

0 comments on commit 6aeacfb

Please sign in to comment.