From dbabc35e7157de9482482d97ebfbce3194a44bda Mon Sep 17 00:00:00 2001 From: caiwp Date: Mon, 20 Mar 2017 21:17:07 +0800 Subject: [PATCH] Delete the useless code (#1335) --- modules/setting/setting.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 0ac63d691f..a7e93c36fc 100644 --- a/modules/setting/setting.go +++ b/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