diff --git a/src/Bundle/ChillPersonBundle/DependencyInjection/ChillPersonExtension.php b/src/Bundle/ChillPersonBundle/DependencyInjection/ChillPersonExtension.php index e2e2fbc97..e5b5b4e10 100644 --- a/src/Bundle/ChillPersonBundle/DependencyInjection/ChillPersonExtension.php +++ b/src/Bundle/ChillPersonBundle/DependencyInjection/ChillPersonExtension.php @@ -76,6 +76,7 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac $loader->load('services.yaml'); $loader->load('services/widgets.yaml'); $loader->load('services/exports.yaml'); + $loader->load('services/exports_social_actions.yaml'); $loader->load('services/fixtures.yaml'); $loader->load('services/controller.yaml'); $loader->load('services/search.yaml'); @@ -95,7 +96,6 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac $loader->load('services/doctrineEventListener.yaml'); $loader->load('services/accompanyingPeriodConsistency.yaml'); - // if ($container->getParameter('chill_person.accompanying_period') !== 'hidden') { $loader->load('services/exports_accompanying_period.yaml'); } diff --git a/src/Bundle/ChillPersonBundle/config/services/exports.yaml b/src/Bundle/ChillPersonBundle/config/services/exports.yaml index a946905c9..f50674e19 100644 --- a/src/Bundle/ChillPersonBundle/config/services/exports.yaml +++ b/src/Bundle/ChillPersonBundle/config/services/exports.yaml @@ -26,13 +26,6 @@ services: - '%chill_main.notifications%' tags: - { name: chill.export, alias: list_person_duplicate } - - chill.person.export.count_social_actions: - class: Chill\PersonBundle\Export\Export\CountSocialActions - autowire: true - autoconfigure: true - tags: - - { name: chill.export, alias: count_social_actions } chill.person.export.filter_gender: class: Chill\PersonBundle\Export\Filter\GenderFilter diff --git a/src/Bundle/ChillPersonBundle/config/services/exports_social_actions.yaml b/src/Bundle/ChillPersonBundle/config/services/exports_social_actions.yaml new file mode 100644 index 000000000..1892e9962 --- /dev/null +++ b/src/Bundle/ChillPersonBundle/config/services/exports_social_actions.yaml @@ -0,0 +1,7 @@ +services: + chill.person.export.count_social_actions: + class: Chill\PersonBundle\Export\Export\CountSocialActions + autowire: true + autoconfigure: true + tags: + - { name: chill.export, alias: count_social_actions } \ No newline at end of file