From 2a6408b386c7c0d35d9ca3b0bb01c0d54b23b04b Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 25 Dec 2025 17:39:59 -0800 Subject: [PATCH] revert unnecessary change --- routers/web/repo/pull.go | 1 - 1 file changed, 1 deletion(-) diff --git a/routers/web/repo/pull.go b/routers/web/repo/pull.go index 92b0e36b79..488389e204 100644 --- a/routers/web/repo/pull.go +++ b/routers/web/repo/pull.go @@ -1441,7 +1441,6 @@ func CompareAndPullRequestPost(ctx *context.Context) { return } - // FIXME: this should be moved in the function NewPullRequest if projectID > 0 && ctx.Repo.CanWrite(unit.TypeProjects) { if err := issues_model.IssueAssignOrRemoveProject(ctx, pullIssue, ctx.Doer, projectID, 0); err != nil { if !errors.Is(err, util.ErrPermissionDenied) {