mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 19:27:29 +02:00
Remove unnecessary parameter (#27671)
This commit is contained in:
1 parent
83186eca80
commit
9852c92e9a
8 files changed
+23
-25
No files matched your search
@@ -200,7 +200,7 @@ func Migrate(ctx *context.APIContext) {
|
||||
}
|
||||
|
||||
if repo != nil {
|
||||
if errDelete := repo_service.DeleteRepositoryDirectly(ctx, ctx.Doer, repoOwner.ID, repo.ID); errDelete != nil {
|
||||
if errDelete := repo_service.DeleteRepositoryDirectly(ctx, ctx.Doer, repo.ID); errDelete != nil {
|
||||
log.Error("DeleteRepository: %v", errDelete)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user