Minor fixes for #2745

This commit is contained in:
Unknwon committed 2016-03-03 23:24:22 -05:00
1 parent 1cbc5b49e3
commit 260723e2cc
8 files changed
+921 -708

No files matched your search

+1 -4
View File
@@ -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 {