1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-14 22:47:21 +00:00

Delete related notifications on issue deletion too (#18953)

* use .Decr for issue comment counting

* Remove notification on issue removal
This commit is contained in:
Otto Richter (fnetX)
2022-03-17 23:04:09 +01:00
committed by GitHub
parent 45f8d97131
commit 04fcf23ea3
2 changed files with 2 additions and 1 deletions

View File

@ -2124,6 +2124,7 @@ func deleteIssue(ctx context.Context, issue *Issue) error {
&IssueDependency{},
&IssueAssignees{},
&IssueUser{},
&Notification{},
&Reaction{},
&IssueWatch{},
&Stopwatch{},