Skip to content

Commit d8c913a

Browse files
authored
Merge branch 'main' into patch-15
2 parents 9035ca5 + 0d5abd9 commit d8c913a

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

flake.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
poetry
3030

3131
# backend
32-
go_1_22
3332
gofumpt
3433
sqlite
3534
];

services/context/repo.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -393,14 +393,7 @@ func repoAssignment(ctx *Context, repo *repo_model.Repository) {
393393
}
394394
}
395395

396-
pushMirrors, _, err := repo_model.GetPushMirrorsByRepoID(ctx, repo.ID, db.ListOptions{})
397-
if err != nil {
398-
ctx.ServerError("GetPushMirrorsByRepoID", err)
399-
return
400-
}
401-
402396
ctx.Repo.Repository = repo
403-
ctx.Data["PushMirrors"] = pushMirrors
404397
ctx.Data["RepoName"] = ctx.Repo.Repository.Name
405398
ctx.Data["IsEmptyRepo"] = ctx.Repo.Repository.IsEmpty
406399

0 commit comments

Comments
 (0)