summaryrefslogtreecommitdiffstats
path: root/models/repo.go
diff options
context:
space:
mode:
authorEthan Koenig <etk39@cornell.edu>2016-12-07 18:04:12 -0500
committerThomas Boerger <thomas@webhippie.de>2016-12-08 00:04:12 +0100
commit401a8db0ed46e47ceb720e41235e1cf73266efdc (patch)
tree2888d24dcf6841464cb654b914edf5d56bda94b5 /models/repo.go
parent39d0db52de6fa64908cb3bd2f818d01332d7eee8 (diff)
downloadgitea-401a8db0ed46e47ceb720e41235e1cf73266efdc.tar.gz
gitea-401a8db0ed46e47ceb720e41235e1cf73266efdc.zip
Remove stale comment in models/repo.go (#366)
Diffstat (limited to 'models/repo.go')
-rw-r--r--models/repo.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go
index f339234fb4..603902a19f 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -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{