From b3b7598ec6846d53d7deb2c84781b06e22c93044 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 13 Dec 2018 23:55:43 +0800 Subject: Improve performance of dashboard (#4977) --- models/issue_mail.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/issue_mail.go') 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) } -- cgit v1.2.3