diff options
author | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-02-20 00:20:42 +0800 |
---|---|---|
committer | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-02-20 00:20:42 +0800 |
commit | 422a20648466f270de195dce3bca04e977bacd13 (patch) | |
tree | 1a8775511194ad1495e8628291a1f2a43be169ab /internal/setting | |
parent | e545c310eefde55f3e7c55a185c1348b13180074 (diff) |
conf: remove unused config option SHOW_FOOTER_VERSION
Diffstat (limited to 'internal/setting')
-rw-r--r-- | internal/setting/setting.go | 2 |
1 files changed, 0 insertions, 2 deletions
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")) |