mirror of
https://github.com/go-gitea/gitea
synced 2025-07-14 14:37:20 +00:00
Move and rename UpdateRepository (#34136)
This commit is contained in:
@ -227,7 +227,7 @@ func ConvertForkToNormalRepository(ctx context.Context, repo *repo_model.Reposit
|
||||
repo.IsFork = false
|
||||
repo.ForkID = 0
|
||||
|
||||
if err := repo_module.UpdateRepository(ctx, repo, false); err != nil {
|
||||
if err := updateRepository(ctx, repo, false); err != nil {
|
||||
log.Error("Unable to update repository %-v whilst converting from fork. Error: %v", repo, err)
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user