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 authored and lafriks committed Dec 10, 2018
1 parent 928417a commit 1b3404e
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 @@ -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)
}
Expand Down

0 comments on commit 1b3404e

Please sign in to comment.