The `isAdmin` param is no longer used so the comment should be removed.
d27d36f2f4/routers/web/explore/repo.go (L36-L37)
			
			
This commit is contained in:
		
							parent
							
								
									d27d36f2f4
								
							
						
					
					
						commit
						611705888f
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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"))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue