slaves should only be added as child of a master connection

This commit is contained in:
ulrik nielsen 2012-04-17 14:25:13 +02:00
parent 0507a57277
commit 97dbf813dd

View file

@ -107,18 +107,6 @@ class Configuration implements ConfigurationInterface
->scalarNode('password')->defaultValue('')->end()
->scalarNode('dsn')->defaultValue('')->end()
->scalarNode('classname')->defaultValue($this->debug ? 'DebugPDO' : 'PropelPDO')->end()
->arrayNode('slaves')
->useAttributeAsKey('name')
->prototype('array')
->children()
->scalarNode('driver')->defaultValue('mysql')->end()
->scalarNode('user')->defaultValue('root')->end()
->scalarNode('password')->defaultValue('')->end()
->scalarNode('dsn')->defaultValue('')->end()
->scalarNode('classname')->defaultValue($this->debug ? 'DebugPDO' : 'PropelPDO')->end()
->end()
->end()
->end()
->end()
->fixXmlConfig('option')
->children()