summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--models/repo.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/repo.go b/models/repo.go
index 08908c8b06..894698a7c0 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -1787,6 +1787,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)
}