mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Code Formats, Nits & Unused Func/Var deletions (#15286)
* _ to unused func options * rm useless brakets * rm trifial non used models functions * rm dead code * rm dead global vars * fix routers/api/v1/repo/issue.go * dont overload import module
This commit is contained in:
		@@ -660,7 +660,7 @@ func SearchTeam(ctx *context.APIContext) {
 | 
			
		||||
		UserID:      ctx.User.ID,
 | 
			
		||||
		Keyword:     strings.TrimSpace(ctx.Query("q")),
 | 
			
		||||
		OrgID:       ctx.Org.Organization.ID,
 | 
			
		||||
		IncludeDesc: (ctx.Query("include_desc") == "" || ctx.QueryBool("include_desc")),
 | 
			
		||||
		IncludeDesc: ctx.Query("include_desc") == "" || ctx.QueryBool("include_desc"),
 | 
			
		||||
		ListOptions: listOptions,
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user