Skip to content

Commit

Permalink
fix forgot deletion of notification when delete repository (#5506) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Dec 11, 2018
1 parent 9cf9a54 commit 60d7b61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions models/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 60d7b61

Please sign in to comment.