mirror of
https://gitee.com/gitea/gitea
synced 2026-01-01 21:26:36 +08:00
Move init repository related functions to modules (#19159)
* Move init repository related functions to modules * Fix lint * Use ctx but db.DefaultContext Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
@@ -74,5 +74,6 @@ func PushCreateRepo(authUser, owner *user_model.User, repoName string) (*repo_mo
|
||||
|
||||
// NewContext start repository service
|
||||
func NewContext() error {
|
||||
repo_module.LoadRepoConfig()
|
||||
return initPushQueue()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user