Skip to content

Commit

Permalink
Remove bundle and related locale routing code which is not used anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
stloyd committed Jul 2, 2012
1 parent 0bdb00c commit 01a0992
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 206 deletions.
1 change: 0 additions & 1 deletion app/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public function registerBundles()
new Knp\Bundle\DisqusBundle\KnpDisqusBundle(),
new Knp\Bundle\PaginatorBundle\KnpPaginatorBundle(),
new Ornicar\GravatarBundle\OrnicarGravatarBundle(),
new JMS\I18nRoutingBundle\JMSI18nRoutingBundle(),
new OldSound\RabbitMqBundle\OldSoundRabbitMqBundle(),
new Nelmio\SolariumBundle\NelmioSolariumBundle(),

Expand Down
7 changes: 1 addition & 6 deletions app/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ doctrine:
mappings:
KnpBundlesBundle: ~

jms_i18n_routing:
default_locale: en
locales: [fr, pl, en]
strategy: prefix_except_default

inori_twitter_app:
file: %kernel.root_dir%/../vendor/twitteroauth/twitteroauth/twitteroauth.php
consumer_key: %knp_bundles.twitter.consumer_key%
Expand Down Expand Up @@ -123,4 +118,4 @@ nelmio_solarium:
class: Solarium_Client_Adapter_Http
host: %solarium.host%
port: %solarium.port%
path: %solarium.path%
path: %solarium.path%
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"symfony/assetic-bundle": "*",
"symfony/monolog-bundle": "*",
"sensio/distribution-bundle": "*",
"jms/i18n-routing-bundle": "*",
"doctrine/doctrine-fixtures-bundle": "*",
"doctrine/doctrine-migrations-bundle": "*",
"stof/doctrine-extensions-bundle": "*",
Expand Down
118 changes: 19 additions & 99 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 2 additions & 7 deletions src/Knp/Bundle/KnpBundlesBundle/Resources/config/twig.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
services:
twig.extension.knp.locale_routing:
class: Knp\Bundle\KnpBundlesBundle\Twig\Extension\LocaleRoutingTwigExtension
tags:
- { name: twig.extension }
arguments:
- @router
twig.extension.knp.flawored_markdown:
class: Knp\Bundle\KnpBundlesBundle\Twig\Extension\FlaworedMarkdownTwigExtension
tags:
- { name: twig.extension }

twig.extension.knp.bundle_activity:
class: Knp\Bundle\KnpBundlesBundle\Twig\Extension\BundleActivityTwigExtension
tags:
- { name: twig.extension }
- { name: twig.extension }

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 01a0992

Please sign in to comment.