Skip to content

Commit

Permalink
Fix deprecation of vm5_entity_translations.translation_loader service.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bozhidar Hristov committed Dec 4, 2017
1 parent 9a7d3fd commit b6411a6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@

<services>
<service id="vm5_entity_translations.translator"
class="VM5\EntityTranslationsBundle\Translator"
alias="vm5_entity_translations.translation_loader"
public="true">
</service>
<service id="vm5_entity_translations.translation_loader"
alias="vm5_entity_translations.translator"
class="VM5\EntityTranslationsBundle\Translator"
public="true">
<deprecated>The "%service_id%" service is deprecated since 1.2 and will be removed in 2.0. Please use vm5_entity_translations.translator instead.</deprecated>
<deprecated>The "%service_id%" service is deprecated since 1.2 and will be removed in 2.0. Please use
vm5_entity_translations.translator instead.
</deprecated>
</service>

<service id="vm5_entity_translations.doctrine.translation_loader"
Expand Down

0 comments on commit b6411a6

Please sign in to comment.