1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 10:18:38 +00:00

Upgrade xorm to v1.0.4 (#12694)

This commit is contained in:
Lunny Xiao
2020-09-03 09:58:04 +08:00
committed by GitHub
parent 702e98c5ec
commit 514201af5d
9 changed files with 56 additions and 57 deletions

2
vendor/xorm.io/xorm/session.go generated vendored
View File

@@ -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
}