1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-22 17:34:03 +03:00

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

This commit is contained in:
Lunny Xiao 2018-12-11 04:01:01 +08:00 committed by Lauris BH
parent 928417ae39
commit 1b3404eaca

View File

@ -1771,6 +1771,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)
}