mirror of
https://github.com/go-gitea/gitea
synced 2025-07-05 18:17:19 +00: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