diff options
author | 谈笑风生间 <xiaodongzhang@whale.im> | 2023-05-31 15:54:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-31 15:54:46 +0800 |
commit | a5acec329e2ca61044f1e1d96858624f2c4a46ac (patch) | |
tree | 87757660532d9773fadffa7da6afccc32da4a12e /modules/notification/base/null.go | |
parent | bf27fc35960afe4e949c4b7425139a9f5df12aad (diff) | |
download | gitea-a5acec329e2ca61044f1e1d96858624f2c4a46ac.tar.gz gitea-a5acec329e2ca61044f1e1d96858624f2c4a46ac.zip |
Rename NotifyPullReviewRequest to NotifyPullRequestReviewRequest (#24988)
after #24481
To keep consistent, maybe pull_request_review_request is better.
## what my pull request does
Rename NotifyPullReviewRequest to NotifyPullRequestReviewRequest.
<img width="1087" alt="image"
src="https://github.com/go-gitea/gitea/assets/75628309/2cf91f02-74f2-42fe-a998-0a039b821d8d">
Diffstat (limited to 'modules/notification/base/null.go')
-rw-r--r-- | modules/notification/base/null.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/notification/base/null.go b/modules/notification/base/null.go index 187c36beeb..338790b356 100644 --- a/modules/notification/base/null.go +++ b/modules/notification/base/null.go @@ -120,8 +120,8 @@ func (*NullNotifier) NotifyIssueChangeContent(ctx context.Context, doer *user_mo func (*NullNotifier) NotifyIssueChangeAssignee(ctx context.Context, doer *user_model.User, issue *issues_model.Issue, assignee *user_model.User, removed bool, comment *issues_model.Comment) { } -// NotifyPullReviewRequest places a place holder function -func (*NullNotifier) NotifyPullReviewRequest(ctx context.Context, doer *user_model.User, issue *issues_model.Issue, reviewer *user_model.User, isRequest bool, comment *issues_model.Comment) { +// NotifyPullRequestReviewRequest places a place holder function +func (*NullNotifier) NotifyPullRequestReviewRequest(ctx context.Context, doer *user_model.User, issue *issues_model.Issue, reviewer *user_model.User, isRequest bool, comment *issues_model.Comment) { } // NotifyIssueClearLabels places a place holder function |