1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00

Delete the useless code (#1335)

This commit is contained in:
caiwp 2017-03-20 21:17:07 +08:00 committed by Lunny Xiao
parent 5586445207
commit dbabc35e71

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