parent
5f169bfcfd
commit
f1720ad133
1 changed files with 2 additions and 0 deletions
|
@ -1822,6 +1822,8 @@ func DeleteRepository(doer *User, uid, repoID int64) error {
|
||||||
&PullRequest{BaseRepoID: repoID},
|
&PullRequest{BaseRepoID: repoID},
|
||||||
&RepoUnit{RepoID: repoID},
|
&RepoUnit{RepoID: repoID},
|
||||||
&RepoRedirect{RedirectRepoID: repoID},
|
&RepoRedirect{RedirectRepoID: repoID},
|
||||||
|
&Webhook{RepoID: repoID},
|
||||||
|
&HookTask{RepoID: repoID},
|
||||||
); err != nil {
|
); err != nil {
|
||||||
return fmt.Errorf("deleteBeans: %v", err)
|
return fmt.Errorf("deleteBeans: %v", err)
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue