From 779b71eda41dbc624ecf3bef0555ab9fd16716e5 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 16 Feb 2016 22:35:08 +0800 Subject: [PATCH] fix dependency broken because xorm's API changed --- models/models.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/models/models.go b/models/models.go index 2249fee41bb..2e91f716902 100644 --- a/models/models.go +++ b/models/models.go @@ -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 }