#1458: Authorities were messed up when using mysql database

This commit is contained in:
Unknwon 2015-08-28 13:51:15 +08:00
parent 70e0153b93
commit ff35a37769
5 changed files with 30 additions and 45 deletions

View file

@ -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))
}