diff options
author | Unknwon <u@gogs.io> | 2015-08-10 22:45:49 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-10 22:45:49 +0800 |
commit | 884bc4ffd81f5b952df172d43ba7b16e1844ff19 (patch) | |
tree | 4d8e786db5b6e3a5e484072771f8bd0a6a485878 /routers/repo | |
parent | 75aff60c903c2c5ab92d75c9f067d6815f3daa2e (diff) | |
download | gitea-884bc4ffd81f5b952df172d43ba7b16e1844ff19.tar.gz gitea-884bc4ffd81f5b952df172d43ba7b16e1844ff19.zip |
rename functions
Diffstat (limited to 'routers/repo')
-rw-r--r-- | routers/repo/issue.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 659f0e8309..9181d5bd4e 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -114,14 +114,14 @@ func Issues(ctx *middleware.Context) { issues, err := models.Issues(uid, assigneeID, repo.ID, posterID, milestoneID, page, isShowClosed, filterMode == models.FM_MENTION, selectLabels, ctx.Query("sortType")) if err != nil { - ctx.Handle(500, "GetIssues: %v", err) + ctx.Handle(500, "Issues: %v", err) return } - // Get issue-user pairs. - pairs, err := models.GetIssueUserPairs(repo.ID, posterID, isShowClosed) + // Get issue-user relations. + pairs, err := models.GetIssueUsers(repo.ID, posterID, isShowClosed) if err != nil { - ctx.Handle(500, "GetIssueUserPairs: %v", err) + ctx.Handle(500, "GetIssueUsers: %v", err) return } |