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) {