Delete the useless code (#1335)

tokarchuk/v1.17
caiwp 8 years ago committed by Lunny Xiao
parent 5586445207
commit dbabc35e71
  1. 4
      modules/setting/setting.go

@ -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