mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-08 18:04:14 +01:00
Delete repo redirects on repo deletion (#1776)
This commit is contained in:
parent
cc2071c3fd
commit
bdc90aeaee
1 changed files with 1 additions and 0 deletions
|
@ -1650,6 +1650,7 @@ func DeleteRepository(uid, repoID int64) error {
|
|||
&Collaboration{RepoID: repoID},
|
||||
&PullRequest{BaseRepoID: repoID},
|
||||
&RepoUnit{RepoID: repoID},
|
||||
&RepoRedirect{RedirectRepoID: repoID},
|
||||
); err != nil {
|
||||
return fmt.Errorf("deleteBeans: %v", err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue