aboutsummaryrefslogtreecommitdiffstats
path: root/models/wiki.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2018-10-20 00:36:42 +0800
committertechknowlogick <hello@techknowlogick.com>2018-10-19 12:36:42 -0400
commit616b8f42f982d53bea2d1bd9a4560065d80c66a1 (patch)
treebf345247a6d8cd18e822a423b9ae2eab88f84dfb /models/wiki.go
parent47e4efe0c52ea20234073a6fdbb7bd2fab8273a4 (diff)
downloadgitea-616b8f42f982d53bea2d1bd9a4560065d80c66a1.tar.gz
gitea-616b8f42f982d53bea2d1bd9a4560065d80c66a1.zip
Fix deadlock when sqlite (#5118)
* fix deadlock when sqlite * fix clonelink deadlock on sqlite
Diffstat (limited to 'models/wiki.go')
-rw-r--r--models/wiki.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/wiki.go b/models/wiki.go
index 4637a449cd..d61593609f 100644
--- a/models/wiki.go
+++ b/models/wiki.go
@@ -57,7 +57,7 @@ func WikiFilenameToName(filename string) (string, error) {
// WikiCloneLink returns clone URLs of repository wiki.
func (repo *Repository) WikiCloneLink() *CloneLink {
- return repo.cloneLink(true)
+ return repo.cloneLink(x, true)
}
// WikiPath returns wiki data path by given user and repository name.