diff options
author | Unknwon <u@gogs.io> | 2016-08-24 16:05:56 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-24 16:05:56 -0700 |
commit | 0b273ac4d566837b668d9e521476cd94ac28b6d4 (patch) | |
tree | 034db5238583a8f73bc5c83c2e4f1ae724eea092 /models/repo.go | |
parent | 84b56c3c53fb931f569f9d0b5e2bf3832aba6abe (diff) | |
download | gitea-0b273ac4d566837b668d9e521476cd94ac28b6d4.tar.gz gitea-0b273ac4d566837b668d9e521476cd94ac28b6d4.zip |
#3383 code cleanup
Diffstat (limited to 'models/repo.go')
-rw-r--r-- | models/repo.go | 2 |
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. |