Skip to content

Commit 32daca7

Browse files
committed
bug #2884 [Icons] don't disable commands based on debug (kbond)
This PR was merged into the 2.x branch. Discussion ---------- [Icons] don't disable commands based on debug | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Docs? | no | Issues | Fix #2874 | License | MIT Commits ------- b6d6462 [Icons] don't disable commands based on debug
2 parents b41c0fc + b6d6462 commit 32daca7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Icons/src/DependencyInjection/UXIconsExtension.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,5 @@ protected function loadInternal(array $mergedConfig, ContainerBuilder $container
176176
if (!$mergedConfig['iconify']['on_demand'] || !$mergedConfig['iconify']['enabled']) {
177177
$container->removeDefinition('.ux_icons.iconify_on_demand_registry');
178178
}
179-
180-
if (!$container->getParameter('kernel.debug')) {
181-
$container->removeDefinition('.ux_icons.command.import');
182-
$container->removeDefinition('.ux_icons.command.search');
183-
$container->removeDefinition('.ux_icons.command.lock');
184-
}
185179
}
186180
}

0 commit comments

Comments
 (0)