From 66fe2a3dc4705f1bc70d1302d551311a7d3f70ba Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Mon, 14 Nov 2016 14:29:13 +0100 Subject: [PATCH] User-agents have moved to site-config Since graby@1.5.0, user-agent can be defined in site-config, which the now recommended way --- .../CoreBundle/Resources/config/services.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index 90a2419ea..ed66d2bee 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.yml +++ b/src/Wallabag/CoreBundle/Resources/config/services.yml @@ -41,21 +41,6 @@ services: arguments: - error_message: '%wallabag_core.fetching_error_message%' - http_client: - user_agents: - 'lifehacker.com': 'PHP/5.2' - 'gawker.com': 'PHP/5.2' - 'deadspin.com': 'PHP/5.2' - 'kotaku.com': 'PHP/5.2' - 'jezebel.com': 'PHP/5.2' - 'io9.com': 'PHP/5.2' - 'jalopnik.com': 'PHP/5.2' - 'gizmodo.com': 'PHP/5.2' - '.wikipedia.org': 'Mozilla/5.2' - '.fok.nl': 'Googlebot/2.1' - 'getpocket.com': 'PHP/5.2' - 'iansommerville.com': 'PHP/5.2' - '.slashdot.org': 'PHP/5.2' calls: - [ setLogger, [ "@logger" ] ] tags: