From: Bjørn Erik Pedersen Date: Sun, 19 Feb 2017 19:08:03 +0000 (+0100) Subject: config: Remove unused var X-Git-Tag: v0.19~41 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3d4e99ed50221d8dd1213eb587b8e7659e6d4b97;p=brevno-suite%2Fhugo config: Remove unused var --- diff --git a/config/configProvider.go b/config/configProvider.go index a2c8ebb6..7f306fa0 100644 --- a/config/configProvider.go +++ b/config/configProvider.go @@ -17,16 +17,6 @@ // string operations on content. package config -// A cached version of the current ConfigProvider (language) and relatives. These globals -// are unfortunate, but we still have some places that needs this that does -// not have access to the site configuration. -// These values will be set on initialization when rendering a new language. -// -// TODO(bep) Get rid of these. -var ( - currentConfigProvider Provider -) - // Provider provides the configuration settings for Hugo. type Provider interface { GetString(key string) string