aboutsummaryrefslogtreecommitdiffstats
path: root/routers/install.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-28 13:51:15 +0800
committerUnknwon <u@gogs.io>2015-08-28 13:51:15 +0800
commitff35a37769cbf60cd1522eb05411adbf965c9950 (patch)
treec8f500294dd65813fd2d9becab1c076f92d424f3 /routers/install.go
parent70e0153b939a2446bf1d8e459a1b965660463585 (diff)
downloadgitea-ff35a37769cbf60cd1522eb05411adbf965c9950.tar.gz
gitea-ff35a37769cbf60cd1522eb05411adbf965c9950.zip
#1458: Authorities were messed up when using mysql database
Diffstat (limited to 'routers/install.go')
-rw-r--r--routers/install.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/routers/install.go b/routers/install.go
index 3fcaee8db6..0a8af4f284 100644
--- a/routers/install.go
+++ b/routers/install.go
@@ -39,8 +39,6 @@ func checkRunMode() {
macaron.Env = macaron.PROD
macaron.ColorLog = false
setting.ProdMode = true
- case "test":
- macaron.Env = macaron.TEST
}
log.Info("Run Mode: %s", strings.Title(macaron.Env))
}