diff options
author | Zettat123 | 2023-02-27 20:24:33 +0800 |
---|---|---|
committer | GitHub | 2023-02-27 13:24:33 +0100 |
commit | 611705888fb4bb00abe254e3420e57ca383cf4a1 (patch) | |
tree | 8d3fee607a0ba74a97fd25bacf0e259ade6779fa /routers | |
parent | d27d36f2f4dd389050e613967ad2a5d02d250acc (diff) |
Remove useless comment in #23114 (#23173)
The `isAdmin` param is no longer used so the comment should be removed.
https://github.com/go-gitea/gitea/blob/d27d36f2f4dd389050e613967ad2a5d02d250acc/routers/web/explore/repo.go#L36-L37
Diffstat (limited to 'routers')
-rw-r--r-- | routers/web/explore/repo.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/web/explore/repo.go b/routers/web/explore/repo.go index 058971b9b..cc3af8cb2 100644 --- a/routers/web/explore/repo.go +++ b/routers/web/explore/repo.go @@ -33,7 +33,6 @@ type RepoSearchOptions struct { // RenderRepoSearch render repositories search page // This function is also used to render the Admin Repository Management page. -// The isAdmin param should be set to true when rendering the Admin page. func RenderRepoSearch(ctx *context.Context, opts *RepoSearchOptions) { // Sitemap index for sitemap paths page := int(ctx.ParamsInt64("idx")) |