Permalink
Browse files

remove duplicated code

  • Loading branch information...
1 parent bc85342 commit 6aeacfbaf68432e97c0480314cd6adb02ccc7596 Reto Ryter committed Mar 15, 2013
Showing with 0 additions and 4 deletions.
  1. +0 −4 DependencyInjection/SymfonyCmfBlockExtension.php
@@ -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']);

0 comments on commit 6aeacfb

Please sign in to comment.