diff options
author | pengqiseven <134899215+pengqiseven@users.noreply.github.com> | 2024-03-11 17:24:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-11 09:24:23 +0000 |
commit | 7f856d5d742dcb6febdb8a3f22cd9a8fecc69a4d (patch) | |
tree | d34285b58db3b9afe2535dfc0b19d74255592135 /models | |
parent | e6d141182fbd1c56cab3f9369ee4d2a3deb9ab9f (diff) | |
download | gitea-7f856d5d742dcb6febdb8a3f22cd9a8fecc69a4d.tar.gz gitea-7f856d5d742dcb6febdb8a3f22cd9a8fecc69a4d.zip |
remove repetitive words (#29695)
Signed-off-by: pengqiseven <912170095@qq.com>
Diffstat (limited to 'models')
-rw-r--r-- | models/issues/issue_search.go | 2 | ||||
-rw-r--r-- | models/user/user.go | 2 |
2 files changed, 2 insertions, 2 deletions
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 { |