forked from p85947160/gitea
Remove all CommitStatus when a repo is deleted (#5941)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
parent
dfad569e40
commit
022634aa75
|
@ -1774,6 +1774,7 @@ func DeleteRepository(doer *User, uid, repoID int64) error {
|
|||
&Webhook{RepoID: repoID},
|
||||
&HookTask{RepoID: repoID},
|
||||
&Notification{RepoID: repoID},
|
||||
&CommitStatus{RepoID: repoID},
|
||||
); err != nil {
|
||||
return fmt.Errorf("deleteBeans: %v", err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue