]> Raphaƫl G. Git Repositories - userbundle/blobdiff - DependencyInjection/Configuration.php
Remove locales key
[userbundle] / DependencyInjection / Configuration.php
index 1dc51669a73fef32915335b81eb57f6977e06e31..719e95274b37220bf97834d32201f2fed0a34024 100644 (file)
@@ -69,7 +69,6 @@ class Configuration implements ConfigurationInterface {
                                ]
                        ],
                        'translate' => [],
-                       'locales' => '%kernel.translator.fallbacks%',
                        'languages' => [
                                'en_gb' => 'English'
                        ],
@@ -229,8 +228,6 @@ class Configuration implements ConfigurationInterface {
                                                ->scalarPrototype()->end()
                                        ->end()
                                        #TODO: see if we can't prevent key normalisation with ->normalizeKeys(false)
-                                       ->scalarNode('locales')->cannotBeEmpty()->defaultValue($defaults['locales'])->end()
-                                       #TODO: see if we can't prevent key normalisation with ->normalizeKeys(false)
                                        ->arrayNode('languages')
                                                ->treatNullLike([])
                                                ->defaultValue($defaults['languages'])