diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2018-12-13 23:55:43 +0800 |
---|---|---|
committer | techknowlogick <hello@techknowlogick.com> | 2018-12-13 10:55:43 -0500 |
commit | b3b7598ec6846d53d7deb2c84781b06e22c93044 (patch) | |
tree | 53c85943b23867b20e2b31742fbe06fcda088ccd /models/issue_mail.go | |
parent | 49ea6e0deb7ecef327b0c2f41920f75c6aaf80d3 (diff) | |
download | gitea-b3b7598ec6846d53d7deb2c84781b06e22c93044.tar.gz gitea-b3b7598ec6846d53d7deb2c84781b06e22c93044.zip |
Improve performance of dashboard (#4977)
Diffstat (limited to 'models/issue_mail.go')
-rw-r--r-- | models/issue_mail.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue_mail.go b/models/issue_mail.go index b78da6d79a..7f780e667e 100644 --- a/models/issue_mail.go +++ b/models/issue_mail.go @@ -39,7 +39,7 @@ func mailIssueCommentToParticipants(e Engine, issue *Issue, doer *User, content // In case the issue poster is not watching the repository and is active, // even if we have duplicated in watchers, can be safely filtered out. - poster, err := GetUserByID(issue.PosterID) + poster, err := getUserByID(e, issue.PosterID) if err != nil { return fmt.Errorf("GetUserByID [%d]: %v", issue.PosterID, err) } |