diff options
Diffstat (limited to 'models/db/engine.go')
-rwxr-xr-x | models/db/engine.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/db/engine.go b/models/db/engine.go index 256eb2f3fc..78b4ac22dd 100755 --- a/models/db/engine.go +++ b/models/db/engine.go @@ -136,8 +136,8 @@ func NewTestEngine() (err error) { } x.SetMapper(names.GonicMapper{}) - x.SetLogger(NewXORMLogger(!setting.IsProd())) - x.ShowSQL(!setting.IsProd()) + x.SetLogger(NewXORMLogger(!setting.IsProd)) + x.ShowSQL(!setting.IsProd) return syncTables() } |