From 422a20648466f270de195dce3bca04e977bacd13 Mon Sep 17 00:00:00 2001 From: ᴜɴᴋɴᴡᴏɴ Date: Thu, 20 Feb 2020 00:20:42 +0800 Subject: conf: remove unused config option SHOW_FOOTER_VERSION --- internal/setting/setting.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'internal/setting') diff --git a/internal/setting/setting.go b/internal/setting/setting.go index 7551358e..0306b1ea 100644 --- a/internal/setting/setting.go +++ b/internal/setting/setting.go @@ -313,7 +313,6 @@ var ( // Other settings ShowFooterBranding bool - ShowFooterVersion bool ShowFooterTemplateLoadTime bool SupportMiniWinService bool @@ -698,7 +697,6 @@ func NewContext() { dateLangs = Cfg.Section("i18n.datelang").KeysHash() ShowFooterBranding = Cfg.Section("other").Key("SHOW_FOOTER_BRANDING").MustBool() - ShowFooterVersion = Cfg.Section("other").Key("SHOW_FOOTER_VERSION").MustBool() ShowFooterTemplateLoadTime = Cfg.Section("other").Key("SHOW_FOOTER_TEMPLATE_LOAD_TIME").MustBool() HasRobotsTxt = com.IsFile(path.Join(CustomPath, "robots.txt")) -- cgit v1.2.3