From 9aae54c81f91acaea58ff3ffd2a5cb068a3a3543 Mon Sep 17 00:00:00 2001 From: Yarden Shoham Date: Mon, 27 Feb 2023 16:43:15 +0200 Subject: [PATCH] Remove useless comment in #23114 (#23173) (#23175) 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 --- routers/web/explore/repo.go | 1 - 1 file changed, 1 deletion(-) diff --git a/routers/web/explore/repo.go b/routers/web/explore/repo.go index 058971b9b8..cc3af8cb2c 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"))