mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Minor fixes for #2745
This commit is contained in:
		@@ -241,10 +241,7 @@ func (repo *Repository) ComposeMetas() map[string]string {
 | 
			
		||||
	return repo.ExternalMetas
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func DeleteWiki(repo *Repository) {
 | 
			
		||||
	repo.DeleteWiki()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// DeleteWiki removes the actual and local copy of repository wiki.
 | 
			
		||||
func (repo *Repository) DeleteWiki() {
 | 
			
		||||
	wikiPaths := []string{repo.WikiPath(), repo.LocalWikiPath()}
 | 
			
		||||
	for _, wikiPath := range wikiPaths {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user