From 815a89d46393bb7d241468e45db9c9ac3d092039 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sat, 2 Nov 2024 04:56:32 +0100 Subject: [PATCH] Remove roots replaced by albums --- DependencyInjection/Configuration.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index ce4ca90..ebd98c0 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -108,7 +108,6 @@ class Configuration implements ConfigurationInterface { ], 'path' => is_link(($prefix = is_dir('public') ? './public/' : './').($link = 'bundles/'.str_replace('_', '', $alias))) && is_dir(realpath($prefix.$link)) || is_dir($prefix.$link) ? $link : dirname(__DIR__).'/Resources/public', 'root' => 'rapsystree', - 'roots' => [], 'title' => 'Veranda\'s gallery system' ]; @@ -190,13 +189,6 @@ class Configuration implements ConfigurationInterface { ->end() ->scalarNode('path')->defaultValue($defaults['path'])->end() ->scalarNode('root')->cannotBeEmpty()->defaultValue($defaults['root'])->end() - #TODO: see if we can't prevent key normalisation with ->normalizeKeys(false) - #->scalarNode('roots')->cannotBeEmpty()->defaultValue($defaults['roots'])->end() - ->variableNode('roots') - ->treatNullLike([]) - ->defaultValue($defaults['roots']) - #->scalarPrototype()->end() - ->end() ->scalarNode('title')->cannotBeEmpty()->defaultValue($defaults['title'])->end() ->end() ->end(); -- 2.41.1