From ff35a37769cbf60cd1522eb05411adbf965c9950 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 28 Aug 2015 13:51:15 +0800 Subject: #1458: Authorities were messed up when using mysql database --- routers/install.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'routers/install.go') 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)) } -- cgit v1.2.3