Removed a few useless checks in PropelExtension
This commit is contained in:
parent
0571ac9a2d
commit
920cea8fbb
|
@ -36,9 +36,7 @@ class PropelExtension extends Extension
|
||||||
$configuration = $this->getConfiguration($configs, $container);
|
$configuration = $this->getConfiguration($configs, $container);
|
||||||
$config = $processor->processConfiguration($configuration, $configs);
|
$config = $processor->processConfiguration($configuration, $configs);
|
||||||
|
|
||||||
$logging = isset($config['logging']) && $config['logging'];
|
$container->setParameter('propel.logging', $config['logging']);
|
||||||
|
|
||||||
$container->setParameter('propel.logging', $logging);
|
|
||||||
$container->setParameter('propel.configuration', array());
|
$container->setParameter('propel.configuration', array());
|
||||||
|
|
||||||
// Load services
|
// Load services
|
||||||
|
@ -50,11 +48,7 @@ class PropelExtension extends Extension
|
||||||
}
|
}
|
||||||
|
|
||||||
// build properties
|
// build properties
|
||||||
if (isset($config['build_properties']) && is_array($config['build_properties'])) {
|
$buildProperties = $config['build_properties'];
|
||||||
$buildProperties = $config['build_properties'];
|
|
||||||
} else {
|
|
||||||
$buildProperties = array();
|
|
||||||
}
|
|
||||||
|
|
||||||
// behaviors
|
// behaviors
|
||||||
if (isset($config['behaviors']) && is_array($config['behaviors'])) {
|
if (isset($config['behaviors']) && is_array($config['behaviors'])) {
|
||||||
|
|
Loading…
Reference in a new issue