mirror of
https://github.com/go-gitea/gitea
synced 2025-12-07 13:28:25 +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:
@@ -2124,6 +2124,7 @@ func deleteIssue(ctx context.Context, issue *Issue) error {
|
||||
&IssueDependency{},
|
||||
&IssueAssignees{},
|
||||
&IssueUser{},
|
||||
&Notification{},
|
||||
&Reaction{},
|
||||
&IssueWatch{},
|
||||
&Stopwatch{},
|
||||
|
||||
Reference in New Issue
Block a user