mirror of
https://github.com/go-gitea/gitea.git
synced 2026-02-25 08:06:11 +01:00
revert unnecessary change
This commit is contained in:
parent
3c34682924
commit
2a6408b386
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user