mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00: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