summaryrefslogtreecommitdiffstats
path: root/models/issue_lock.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issue_lock.go')
-rw-r--r--models/issue_lock.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue_lock.go b/models/issue_lock.go
index 4a2055ce32..77f9bf08ba 100644
--- a/models/issue_lock.go
+++ b/models/issue_lock.go
@@ -52,7 +52,7 @@ func updateIssueLock(opts *IssueLockOptions, lock bool) error {
Type: commentType,
Content: opts.Reason,
}
- if _, err := createCommentWithNoAction(sess, opt); err != nil {
+ if _, err := createComment(sess, opt); err != nil {
return err
}