1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-11 12:08:21 +00:00

fix forgot deletion of notification when delete repository (#5506) (#5514)

This commit is contained in:
Lunny Xiao
2018-12-11 19:09:53 +08:00
committed by GitHub
parent 9cf9a54dca
commit 60d7b614fe

View File

@@ -1838,6 +1838,7 @@ func DeleteRepository(doer *User, uid, repoID int64) error {
&RepoRedirect{RedirectRepoID: repoID},
&Webhook{RepoID: repoID},
&HookTask{RepoID: repoID},
&Notification{RepoID: repoID},
); err != nil {
return fmt.Errorf("deleteBeans: %v", err)
}