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 66a932225a..20e94c7b21 100644
--- a/models/issue_lock.go
+++ b/models/issue_lock.go
@@ -46,7 +46,7 @@ func updateIssueLock(opts *IssueLockOptions, lock bool) error {
}
defer committer.Close()
- if err := updateIssueCols(db.GetEngine(ctx), opts.Issue, "is_locked"); err != nil {
+ if err := updateIssueCols(ctx, opts.Issue, "is_locked"); err != nil {
return err
}