forked from forgejo/forgejo
Upgrade xorm to v1.0.4 (#12694)
This commit is contained in:
parent
702e98c5ec
commit
514201af5d
9 changed files with 56 additions and 57 deletions
2
vendor/xorm.io/xorm/session.go
generated
vendored
2
vendor/xorm.io/xorm/session.go
generated
vendored
|
@ -102,7 +102,7 @@ func newSessionID() string {
|
|||
func newSession(engine *Engine) *Session {
|
||||
var ctx context.Context
|
||||
if engine.logSessionID {
|
||||
ctx = context.WithValue(engine.defaultContext, log.SessionIDKey, newSessionID())
|
||||
ctx = context.WithValue(engine.defaultContext, log.SessionIDKey, newSessionID())
|
||||
} else {
|
||||
ctx = engine.defaultContext
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue