Skip to content

Commit

Permalink
ProfilerController is not a service anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Grandfond committed Dec 21, 2012
1 parent f94b84a commit 45aa952
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 22 deletions.
3 changes: 0 additions & 3 deletions DependencyInjection/DoctrineExtension.php
Expand Up @@ -50,9 +50,6 @@ public function load(array $configs, ContainerBuilder $container)
if (!empty($config['orm'])) {
$this->ormLoad($config['orm'], $container);
}

$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('profiler.xml');
}

/**
Expand Down
18 changes: 0 additions & 18 deletions Resources/config/profiler.xml

This file was deleted.

2 changes: 1 addition & 1 deletion Resources/config/routing/profiler.xml
Expand Up @@ -5,7 +5,7 @@
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">

<route id="_profiler_doctrine" pattern="/explain/{token}/{connectionName}/{query}">
<default key="_controller">doctrine.controller.profiler:explainAction</default>
<default key="_controller">DoctrineBundle:Profiler:explain</default>
</route>

</routes>

0 comments on commit 45aa952

Please sign in to comment.