mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 05:36:19 +01:00
fix forgot deletion of notification when delete repository (#5506)
This commit is contained in:
parent
928417ae39
commit
1b3404eaca
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue