Browse Source

Delete the useless code (#1335)

tags/v1.2.0-rc1
caiwp 7 years ago
parent
commit
dbabc35e71
1 changed files with 0 additions and 4 deletions
  1. 0
    4
      modules/setting/setting.go

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

@@ -544,10 +544,6 @@ func NewContext() {

Cfg = ini.Empty()

if err != nil {
log.Fatal(4, "Failed to parse 'app.ini': %v", err)
}

CustomPath = os.Getenv("GITEA_CUSTOM")
if len(CustomPath) == 0 {
// For backward compatibility

Loading…
Cancel
Save