diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-05-25 11:16:23 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-05-25 11:16:23 +0200 |
commit | 448081b840db4a23c0c49c2d869ac207dcb6ac40 (patch) | |
tree | cf1c69bad108a1484a52913c2ec51ee19795f57c /config/privacy | |
parent | 1f1d955b56471e41d5288c57f1ef8333dc297120 (diff) |
Remove youtube_simple for now
We need to revisit and complete that.
See #4751
Diffstat (limited to 'config/privacy')
-rw-r--r-- | config/privacy/privacyConfig.go | 5 | ||||
-rw-r--r-- | config/privacy/privacyConfig_test.go | 1 |
2 files changed, 0 insertions, 6 deletions
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) { |