Since NewSession() now auto-begins a transaction, explicit Begin() calls are redundant (xorm's Begin() is a no-op when already in a transaction). Removing them reduces confusion. Special case: user_delete.go's loop previously called Begin/Commit per user on a shared session. Restructured to create a new session per user deletion so each gets its own transaction. |
||
|---|---|---|
| .. | ||
| api/v1 | ||
| caldav | ||
| api_tokens.go | ||
| error_handler.go | ||
| healthcheck.go | ||
| metrics.go | ||
| rate_limit.go | ||
| routes.go | ||
| sentry_middleware.go | ||
| static.go | ||
| validation.go | ||