From 448081b840db4a23c0c49c2d869ac207dcb6ac40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 25 May 2018 11:16:23 +0200 Subject: Remove youtube_simple for now We need to revisit and complete that. See #4751 --- config/privacy/privacyConfig.go | 5 ----- config/privacy/privacyConfig_test.go | 1 - 2 files changed, 6 deletions(-) (limited to 'config') diff --git a/config/privacy/privacyConfig.go b/config/privacy/privacyConfig.go index 33e98754c..6dad54e72 100644 --- a/config/privacy/privacyConfig.go +++ b/config/privacy/privacyConfig.go @@ -89,11 +89,6 @@ type YouTube struct { // YouTube won’t store information about visitors on your website // unless the user plays the embedded video. PrivacyEnhanced bool - - // If simple mode is enabled, only a thumbnail is fetched from ytimg.com and - // shown with a play button overlaid. If a user clicks the button, he/she will - // be taken to the video page on youtube.com in a new browser tab. - Simple bool } func DecodeConfig(cfg config.Provider) (pc Config, err error) { diff --git a/config/privacy/privacyConfig_test.go b/config/privacy/privacyConfig_test.go index 112e45988..7e736ce96 100644 --- a/config/privacy/privacyConfig_test.go +++ b/config/privacy/privacyConfig_test.go @@ -70,7 +70,6 @@ simple = true assert.True(pc.YouTube.PrivacyEnhanced) assert.True(pc.YouTube.Disable) - assert.True(pc.YouTube.Simple) } func TestDecodeConfigFromTOMLCaseInsensitive(t *testing.T) { -- cgit v1.2.3