Remove stale comment in models/repo.go (#366)

This commit is contained in:
Ethan Koenig 2016-12-07 18:04:12 -05:00 committed by Thomas Boerger
parent 39d0db52de
commit 401a8db0ed

View File

@ -276,7 +276,6 @@ func (repo *Repository) HTMLURL() string {
}
// APIFormat converts a Repository to api.Repository
// Arguments that are allowed to be nil: permission
func (repo *Repository) APIFormat(mode AccessMode) *api.Repository {
cloneLink := repo.CloneLink()
permission := &api.Permission{