aboutsummaryrefslogtreecommitdiffstats
path: root/services/comments/comments.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/comments/comments.go')
-rw-r--r--services/comments/comments.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/comments/comments.go b/services/comments/comments.go
index c40631359b..7167219c20 100644
--- a/services/comments/comments.go
+++ b/services/comments/comments.go
@@ -72,7 +72,7 @@ func UpdateComment(c *issues_model.Comment, doer *user_model.User, oldContent st
// DeleteComment deletes the comment
func DeleteComment(doer *user_model.User, comment *issues_model.Comment) error {
- ctx, committer, err := db.TxContext()
+ ctx, committer, err := db.TxContext(db.DefaultContext)
if err != nil {
return err
}