Browse Source

Removed unnecessary line referencing LFS struct (#4113)

https://github.com/go-gitea/gitea/pull/4035#issuecomment-394286204

@ohwgiles points out that the config section should, in fact, still be in accordance with the "server" struct, which contains the "LFS" struct. I should just remove the line
```
sec = Cfg.Section("LFS")
```
tags/v1.21.12.1
Inon S Lauris BH 7 years ago
parent
commit
1bcabb8b1e
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      modules/setting/setting.go

+ 0
- 1
modules/setting/setting.go View File

@@ -829,7 +829,6 @@ func NewContext() {
LFS.ContentPath = filepath.Join(AppWorkPath, LFS.ContentPath)
}

sec = Cfg.Section("LFS")
LFS.HTTPAuthExpiry = sec.Key("LFS_HTTP_AUTH_EXPIRY").MustDuration(20 * time.Minute)

if LFS.StartServer {


Loading…
Cancel
Save