summaryrefslogtreecommitdiffstats
path: root/models/issues/issue_xref.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2022-12-10 10:46:31 +0800
committerGitHub <noreply@github.com>2022-12-10 10:46:31 +0800
commit68704532c28cf09db96c988291b2f82c5e615984 (patch)
treec6537092dc11054f96b202fdb957755ed116cd99 /models/issues/issue_xref.go
parent097d4e30b180eef30600beef2c08095e2571319c (diff)
downloadgitea-68704532c28cf09db96c988291b2f82c5e615984.tar.gz
gitea-68704532c28cf09db96c988291b2f82c5e615984.zip
Rename almost all Ctx functions (#22071)
Diffstat (limited to 'models/issues/issue_xref.go')
-rw-r--r--models/issues/issue_xref.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issues/issue_xref.go b/models/issues/issue_xref.go
index 267ccc73a0..21ee24210f 100644
--- a/models/issues/issue_xref.go
+++ b/models/issues/issue_xref.go
@@ -121,7 +121,7 @@ func (issue *Issue) createCrossReferences(stdCtx context.Context, ctx *crossRefe
RefAction: xref.Action,
RefIsPull: ctx.OrigIssue.IsPull,
}
- _, err := CreateCommentCtx(stdCtx, opts)
+ _, err := CreateComment(stdCtx, opts)
if err != nil {
return err
}