mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-09 00:53:45 +00:00
Move some repository transfer functions to service layer (#28855)
This commit is contained in:
@@ -813,7 +813,7 @@ func SettingsPost(ctx *context.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
if err := models.CancelRepositoryTransfer(ctx, ctx.Repo.Repository); err != nil {
|
||||
if err := repo_service.CancelRepositoryTransfer(ctx, ctx.Repo.Repository); err != nil {
|
||||
ctx.ServerError("CancelRepositoryTransfer", err)
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user