1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-12 12:38:20 +00:00

Fix to use only needed columns from tables to get repository git paths (#3870) (#3883)

This commit is contained in:
Lauris BH
2018-05-02 19:34:21 +03:00
committed by GitHub
parent 2996573976
commit 40c6eb0d85
2 changed files with 48 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ func WikiPath(userName, repoName string) string {
// WikiPath returns wiki data path for given repository.
func (repo *Repository) WikiPath() string {
return WikiPath(repo.MustOwner().Name, repo.Name)
return WikiPath(repo.MustOwnerName(), repo.Name)
}
// HasWiki returns true if repository has wiki.