mirror of
https://gitee.com/gitea/gitea
synced 2026-02-06 14:55:36 +08:00
To avoid deadlock problem, almost database related functions should be have ctx as the first parameter. This PR do a refactor for some of these functions.