summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2023-02-02 11:49:28 +0800
committerGitHub <noreply@github.com>2023-02-01 21:49:28 -0600
commit4e946e5a7d79c3a933eefc8584444bc02f52b874 (patch)
treebeedc90414917e1900d24e857fe5b7188981c730 /services
parent3f2e7213720c299b3cace485e97584f0b512bcb7 (diff)
downloadgitea-4e946e5a7d79c3a933eefc8584444bc02f52b874.tar.gz
gitea-4e946e5a7d79c3a933eefc8584444bc02f52b874.zip
Small refactor for loading PRs (#22652)
Diffstat (limited to 'services')
-rw-r--r--services/pull/pull.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/services/pull/pull.go b/services/pull/pull.go
index c983c4f3e7..317875d211 100644
--- a/services/pull/pull.go
+++ b/services/pull/pull.go
@@ -298,7 +298,6 @@ func AddTestPullRequestTask(doer *user_model.User, repoID int64, branch string,
}
}
- pr.Issue.PullRequest = pr
notification.NotifyPullRequestSynchronized(ctx, doer, pr)
}
}