Cleanup subscriber / listener definition

This commit is contained in:
Jeremy Benoist 2016-10-08 10:57:57 +02:00
parent 191564b7f7
commit 2f82e7f8e1
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
3 changed files with 2 additions and 13 deletions

View file

@ -6,4 +6,4 @@ parameters:
test_database_user: null
test_database_password: null
test_database_path: '%kernel.root_dir%/../data/db/wallabag_test.sqlite'
test_database_charset: utf8
test_database_charset: utf8mb4

View file

@ -88,17 +88,6 @@ services:
arguments:
- WallabagCoreBundle:Tag
wallabag_core.listener.registration_confirmed:
class: Wallabag\CoreBundle\EventListener\RegistrationConfirmedListener
arguments:
- "@doctrine.orm.entity_manager"
- "%wallabag_core.theme%"
- "%wallabag_core.items_on_page%"
- "%wallabag_core.rss_limit%"
- "%wallabag_core.language%"
tags:
- { name: kernel.event_subscriber }
wallabag_core.helper.entries_export:
class: Wallabag\CoreBundle\Helper\EntriesExport
arguments:

View file

@ -21,7 +21,7 @@ services:
arguments:
- WallabagUserBundle:User
wallabag_user.create_config:
wallabag_user.listener.create_config:
class: Wallabag\UserBundle\EventListener\CreateConfigListener
arguments:
- "@doctrine.orm.entity_manager"