]> source.dussan.org Git - gitea.git/commitdiff
fix old naming
authorGibheer <gibheer@gmail.com>
Wed, 18 Nov 2015 22:12:42 +0000 (23:12 +0100)
committerGibheer <gibheer@gmail.com>
Wed, 18 Nov 2015 22:12:42 +0000 (23:12 +0100)
This is the old naming of the variable and I forgot to fix it. It now
works and is tested.

modules/setting/setting.go

index fac01990748a87da105aefe20d0439cac49e4ccd..c2b56b5b4c16612864f4792b3390fa535204970e 100644 (file)
@@ -426,7 +426,7 @@ func NewContext() {
        dateLangs = Cfg.Section("i18n.datelang").KeysHash()
 
        ShowFooterBranding = Cfg.Section("other").Key("SHOW_FOOTER_BRANDING").MustBool()
-       EnableShowVersion = Cfg.Section("other").Key("ENABLE_SHOW_VERSION").MustBool()
+       ShowFooterVersion = Cfg.Section("other").Key("SHOW_FOOTER_VERSION").MustBool()
 
        HasRobotsTxt = com.IsFile(path.Join(CustomPath, "robots.txt"))
 }