mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-26 06:16:56 +09:00
Minor fixes for #2745
This commit is contained in:
1 parent
1cbc5b49e3
commit
260723e2cc
8 files changed
+921
-708
No files matched your search
+1
-4
@@ -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