From 7f856d5d742dcb6febdb8a3f22cd9a8fecc69a4d Mon Sep 17 00:00:00 2001 From: pengqiseven <134899215+pengqiseven@users.noreply.github.com> Date: Mon, 11 Mar 2024 17:24:23 +0800 Subject: remove repetitive words (#29695) Signed-off-by: pengqiseven <912170095@qq.com> --- models/issues/issue_search.go | 2 +- models/user/user.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'models') diff --git a/models/issues/issue_search.go b/models/issues/issue_search.go index c5c9cecdb9..4e1bd9e87e 100644 --- a/models/issues/issue_search.go +++ b/models/issues/issue_search.go @@ -393,7 +393,7 @@ func applyReviewRequestedCondition(sess *xorm.Session, reviewRequestedID int64) func applyReviewedCondition(sess *xorm.Session, reviewedID int64) *xorm.Session { // Query for pull requests where you are a reviewer or commenter, excluding - // any pull requests already returned by the the review requested filter. + // any pull requests already returned by the review requested filter. notPoster := builder.Neq{"issue.poster_id": reviewedID} reviewed := builder.In("issue.id", builder. Select("issue_id"). diff --git a/models/user/user.go b/models/user/user.go index 0bdda8655f..22a3099643 100644 --- a/models/user/user.go +++ b/models/user/user.go @@ -425,7 +425,7 @@ func (u *User) GetDisplayName() string { return u.Name } -// GetCompleteName returns the the full name and username in the form of +// GetCompleteName returns the full name and username in the form of // "Full Name (username)" if full name is not empty, otherwise it returns // "username". func (u *User) GetCompleteName() string { -- cgit v1.2.3