diff options
author | caiwp <caiwenpi@gmail.com> | 2017-03-20 21:17:07 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-03-20 21:17:07 +0800 |
commit | dbabc35e7157de9482482d97ebfbce3194a44bda (patch) | |
tree | a83bd21c5c2631ed5c3af1290462fc4b17237912 /modules/setting | |
parent | 5586445207ac1e9b0abfba1829d326076023bd34 (diff) | |
download | gitea-dbabc35e7157de9482482d97ebfbce3194a44bda.tar.gz gitea-dbabc35e7157de9482482d97ebfbce3194a44bda.zip |
Delete the useless code (#1335)
Diffstat (limited to 'modules/setting')
-rw-r--r-- | modules/setting/setting.go | 4 |
1 files changed, 0 insertions, 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 |