fix cherry-pick

This commit is contained in:
Zettat123 2024-04-22 21:46:18 +08:00
parent a1c82c6108
commit de8902077b
1 changed files with 0 additions and 6 deletions

View File

@ -164,12 +164,6 @@ func checkDBConsistency(ctx context.Context, logger log.Logger, autofix bool) er
Fixer: actions_model.FixRunnersWithoutBelongingRepo,
FixedMessage: "Removed",
},
{
Name: "Topics with empty repository count",
Counter: repo_model.CountOrphanedTopics,
Fixer: repo_model.DeleteOrphanedTopics,
FixedMessage: "Removed",
},
}
// TODO: function to recalc all counters