mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 20:17:03 +01:00
Merge pull request #2635 from lunny/develop
fix dependency broken because xorm's API changed
This commit is contained in:
commit
24829f314b
1 changed files with 1 additions and 6 deletions
|
@ -191,12 +191,7 @@ func SetEngine() (err error) {
|
||||||
return fmt.Errorf("Fail to create xorm.log: %v", err)
|
return fmt.Errorf("Fail to create xorm.log: %v", err)
|
||||||
}
|
}
|
||||||
x.SetLogger(xorm.NewSimpleLogger(f))
|
x.SetLogger(xorm.NewSimpleLogger(f))
|
||||||
|
x.ShowSQL(true)
|
||||||
x.ShowSQL = true
|
|
||||||
x.ShowInfo = true
|
|
||||||
x.ShowDebug = true
|
|
||||||
x.ShowErr = true
|
|
||||||
x.ShowWarn = true
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue