Skip to content

Commit 881b67b

Browse files
Zettat123yardenshoham
authored andcommitted
Remove useless comment in go-gitea#23114 (go-gitea#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 1bc4ffc commit 881b67b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

routers/web/explore/repo.go

Lines changed: 0 additions & 1 deletion
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)