Skip to content

Commit 6117058

Browse files
authored
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
1 parent d27d36f commit 6117058

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

routers/web/explore/repo.go

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ type RepoSearchOptions struct {
3333

3434
// RenderRepoSearch render repositories search page
3535
// This function is also used to render the Admin Repository Management page.
36-
// The isAdmin param should be set to true when rendering the Admin page.
3736
func RenderRepoSearch(ctx *context.Context, opts *RepoSearchOptions) {
3837
// Sitemap index for sitemap paths
3938
page := int(ctx.ParamsInt64("idx"))

0 commit comments

Comments
 (0)