From 3d4e99ed50221d8dd1213eb587b8e7659e6d4b97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sun, 19 Feb 2017 20:08:03 +0100 Subject: [PATCH] config: Remove unused var --- config/configProvider.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/config/configProvider.go b/config/configProvider.go index a2c8ebb6d..7f306fa0e 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