Skip to content

Commit

Permalink
Remove useless comment in #23114 (#23173) (#23175)
Browse files Browse the repository at this point in the history
Backport #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

Co-authored-by: Zettat123 <zettat123@gmail.com>
  • Loading branch information
yardenshoham and Zettat123 authored Feb 27, 2023
1 parent 1bc4ffc commit 9aae54c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion routers/web/explore/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 9aae54c

Please sign in to comment.