]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/config/services.yml
Fix security.context deprecation
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / config / services.yml
index e29fcd1f1b9c0c46fddd38cc01a7b342d1e6240c..debbf39e0eb4ab9672e5ccad38567afd18062018 100644 (file)
@@ -2,7 +2,7 @@ services:
     wallabag_core.helper.detect_active_theme:
         class: Wallabag\CoreBundle\Helper\DetectActiveTheme
         arguments:
-            - @security.context
+            - @security.token_storage
             - %theme% # default theme from parameters.yml
 
     # custom form type
@@ -42,6 +42,10 @@ services:
         class: Graby\Graby
         arguments:
             - { error_message: false }
+        calls:
+            - [ setLogger, [ @logger ] ]
+        tags:
+            - { name: monolog.logger, channel: graby }
 
     wallabag_core.content_proxy:
         class: Wallabag\CoreBundle\Helper\ContentProxy