config: Remove unused var

This commit is contained in:
Bjørn Erik Pedersen 2017-02-19 20:08:03 +01:00
parent 02b120d1bd
commit 3d4e99ed50

View file

@ -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