diff options
author | Unknwon <u@gogs.io> | 2016-03-03 23:24:22 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-03-03 23:24:22 -0500 |
commit | 260723e2cce990d58c844b5ed164bd88f7ccb68f (patch) | |
tree | 064ec17e52cb6aef2938c616f27798ebd3c519ec /models | |
parent | 1cbc5b49e3d6f072c9f78a4708c77b7f4f279108 (diff) | |
download | gitea-260723e2cce990d58c844b5ed164bd88f7ccb68f.tar.gz gitea-260723e2cce990d58c844b5ed164bd88f7ccb68f.zip |
Minor fixes for #2745
Diffstat (limited to 'models')
-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 { |