1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 17:14:27 +00:00

Merge pull request #2635 from lunny/develop

fix dependency broken because xorm's API changed
This commit is contained in:
Unknwon 2016-02-16 13:23:44 -05:00
commit 24829f314b

View File

@ -191,12 +191,7 @@ func SetEngine() (err error) {
return fmt.Errorf("Fail to create xorm.log: %v", err)
}
x.SetLogger(xorm.NewSimpleLogger(f))
x.ShowSQL = true
x.ShowInfo = true
x.ShowDebug = true
x.ShowErr = true
x.ShowWarn = true
x.ShowSQL(true)
return nil
}