aboutsummaryrefslogtreecommitdiffstats
path: root/models/repo.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-24 16:05:56 -0700
committerUnknwon <u@gogs.io>2016-08-24 16:05:56 -0700
commit0b273ac4d566837b668d9e521476cd94ac28b6d4 (patch)
tree034db5238583a8f73bc5c83c2e4f1ae724eea092 /models/repo.go
parent84b56c3c53fb931f569f9d0b5e2bf3832aba6abe (diff)
downloadgitea-0b273ac4d566837b668d9e521476cd94ac28b6d4.tar.gz
gitea-0b273ac4d566837b668d9e521476cd94ac28b6d4.zip
#3383 code cleanup
Diffstat (limited to 'models/repo.go')
-rw-r--r--models/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go
index c08c7842fd..c8ac584883 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -359,7 +359,7 @@ func (repo *Repository) GetAssigneeByID(userID int64) (*User, error) {
// GetMilestoneByID returns the milestone belongs to repository by given ID.
func (repo *Repository) GetMilestoneByID(milestoneID int64) (*Milestone, error) {
- return GetRepoMilestoneByID(repo.ID, milestoneID)
+ return GetMilestoneByRepoID(repo.ID, milestoneID)
}
// IssueStats returns number of open and closed repository issues by given filter mode.