Skip to content

Commit

Permalink
Fix EZP-24460: Fix service factories deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lolautruche committed Jun 4, 2015
1 parent 8f95bc7 commit e0e574d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Resources/config/services.yml
Expand Up @@ -38,17 +38,15 @@ services:

ez_comments.provider.disqus:
class: %ez_comments.provider.disqus.class%
factory_service: ez_comments.provider.factory
factory_method: buildDisqus
factory: ["@ez_comments.provider.factory", buildDisqus]
arguments: [%ez_comments.provider.disqus.class%]
lazy: true
tags:
- { name: ez_comments.provider, alias: disqus }

ez_comments.provider.facebook:
class: %ez_comments.provider.facebook.class%
factory_service: ez_comments.provider.factory
factory_method: buildFacebook
factory: ["@ez_comments.provider.factory", buildFacebook]
arguments: [@ezpublish.api.service.location, @router]
lazy: true
tags:
Expand Down

0 comments on commit e0e574d

Please sign in to comment.