diff options
Diffstat (limited to 'models/repo.go')
-rw-r--r-- | models/repo.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/models/repo.go b/models/repo.go index 4d37c6e9d9..17c0082cbd 100644 --- a/models/repo.go +++ b/models/repo.go @@ -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 { |