Skip to content

Commit

Permalink
fix forgot deletion of notification when delete repository (go-gitea#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Dec 11, 2018
1 parent 2b4f87d commit 4d1b8db
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 4d1b8db

Please sign in to comment.