From 65deb72dc4c9299416cf2d9defddb96dba4101fd Mon Sep 17 00:00:00 2001 From: Alexandros Date: Sat, 9 Jun 2018 12:13:36 +0300 Subject: tplimpl: Remove speakerdeck shortcode Fixes #4830 --- config/privacy/privacyConfig.go | 6 ------ config/privacy/privacyConfig_test.go | 3 --- 2 files changed, 9 deletions(-) (limited to 'config') diff --git a/config/privacy/privacyConfig.go b/config/privacy/privacyConfig.go index a058c3593..1eff528d5 100644 --- a/config/privacy/privacyConfig.go +++ b/config/privacy/privacyConfig.go @@ -30,7 +30,6 @@ type Config struct { Disqus Disqus GoogleAnalytics GoogleAnalytics Instagram Instagram - SpeakerDeck SpeakerDeck Twitter Twitter Vimeo Vimeo YouTube YouTube @@ -65,11 +64,6 @@ type Instagram struct { Simple bool } -// SpeakerDeck holds the privacy configuration settings related to the SpeakerDeck shortcode. -type SpeakerDeck struct { - Service `mapstructure:",squash"` -} - // Twitter holds the privacy configuration settingsrelated to the Twitter shortcode. type Twitter struct { Service `mapstructure:",squash"` diff --git a/config/privacy/privacyConfig_test.go b/config/privacy/privacyConfig_test.go index 8d9c9f14f..5ced6d9d9 100644 --- a/config/privacy/privacyConfig_test.go +++ b/config/privacy/privacyConfig_test.go @@ -39,8 +39,6 @@ useSessionStorage = true [privacy.instagram] disable = true simple = true -[privacy.speakerDeck] -disable = true [privacy.twitter] disable = true enableDNT = true @@ -67,7 +65,6 @@ simple = true assert.True(pc.GoogleAnalytics.UseSessionStorage) assert.True(pc.Instagram.Disable) assert.True(pc.Instagram.Simple) - assert.True(pc.SpeakerDeck.Disable) assert.True(pc.Twitter.Disable) assert.True(pc.Twitter.EnableDNT) assert.True(pc.Twitter.Simple) -- cgit v1.2.3