Minor fixes for #2745
This commit is contained in:
parent
1cbc5b49e3
commit
260723e2cc
8 changed files with 921 additions and 708 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue